Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.008 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001707/0.001707, allocations: 237.1 kB / 260.2 MB, free: 12.51 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7862/0.7862, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.886e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.354/0.354, allocations: 150.2 MB / 0.7018 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3651, allocations: 11.23 MB / 0.7127 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.3659, allocations: 39.69 kB / 0.7128 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3667, allocations: 345 kB / 0.7131 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.3689, allocations: 1.084 MB / 0.7142 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3715, allocations: 1.511 MB / 0.7157 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002368/0.3739, allocations: 2.579 MB / 0.7182 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3758, allocations: 1.319 MB / 0.7195 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.3788, allocations: 1.656 MB / 0.7211 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3799, allocations: 0.74 MB / 0.7218 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.3803, allocations: 176 kB / 0.722 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.3819, allocations: 0.9436 MB / 0.7229 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.3822, allocations: 0.5139 MB / 0.7234 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.3828, allocations: 0.6041 MB / 0.724 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.3853, allocations: 2.02 MB / 0.726 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3853, allocations: 0 / 0.726 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3853, allocations: 4 kB / 0.726 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.3853, allocations: 3.938 kB / 0.726 GB, free: 13.89 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002317/0.3876, allocations: 2.09 MB / 0.728 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3877, allocations: 8.75 kB / 0.728 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.3894, allocations: 0.6351 MB / 0.7286 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.3906, allocations: 0.9941 MB / 0.7296 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.3907, allocations: 102.7 kB / 0.7297 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.3908, allocations: 140 kB / 0.7298 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.3923, allocations: 1.682 MB / 0.7315 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.3924, allocations: 0 / 0.7315 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.3925, allocations: 67.92 kB / 0.7315 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3925, allocations: 36 kB / 0.7316 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3937, allocations: 1.033 MB / 0.7326 GB, free: 6.793 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.3977, allocations: 4.077 MB / 0.7366 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3989, allocations: 0.7319 MB / 0.7373 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.3993, allocations: 250.5 kB / 0.7375 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.3996, allocations: 100.9 kB / 0.7376 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007963/0.4004, allocations: 0.8482 MB / 0.7384 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=107): time 3.748e-06/0.4004, allocations: 0 / 0.7384 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=107): time 0.002178/0.4025, allocations: 1.074 MB / 0.7395 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.4028, allocations: 196.9 kB / 0.7397 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.4034, allocations: 0.7181 MB / 0.7404 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.4035, allocations: 49.7 kB / 0.7404 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.4039, allocations: 0.6636 MB / 0.7411 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.4041, allocations: 372.8 kB / 0.7414 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.4043, allocations: 224.4 kB / 0.7416 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4044, allocations: 0.516 MB / 0.7421 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.4047, allocations: 194.5 kB / 0.7423 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.4053, allocations: 0.5818 MB / 0.7429 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/0.406, allocations: 0.5892 MB / 0.7435 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.406, allocations: 4 kB / 0.7435 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001325/0.4074, allocations: 0.8753 MB / 0.7443 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4074, allocations: 8.062 kB / 0.7443 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4074, allocations: 4 kB / 0.7443 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.4079, allocations: 131.6 kB / 0.7445 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.4084, allocations: 247.7 kB / 0.7447 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.4102, allocations: 1.917 MB / 0.7466 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.4106, allocations: 99.38 kB / 0.7467 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.4107, allocations: 55.95 kB / 0.7467 GB, free: 7.699 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.411, allocations: 222.3 kB / 0.7469 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.4112, allocations: 147.3 kB / 0.7471 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4128, allocations: 1.058 MB / 0.7481 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4128, allocations: 12 kB / 0.7481 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4128, allocations: 0 / 0.7481 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.4128, allocations: 7.969 kB / 0.7481 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.4154, allocations: 1.995 MB / 0.7501 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4154, allocations: 0 / 0.7501 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.4159, allocations: 223.7 kB / 0.7503 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.4163, allocations: 111.6 kB / 0.7504 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.4164, allocations: 35.97 kB / 0.7504 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.4176, allocations: 1.928 MB / 0.7523 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4176, allocations: 4 kB / 0.7523 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4189, allocations: 1.04 MB / 0.7533 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.4195, allocations: 274.7 kB / 0.7536 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.4196, allocations: 23.98 kB / 0.7536 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.42, allocations: 63.14 kB / 0.7537 GB, free: 372 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4201, allocations: 88.83 kB / 0.7538 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4202, allocations: 47.97 kB / 0.7538 GB, free: 236 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004028/0.4206, allocations: 478.8 kB / 0.7543 GB, free: 15.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.4206, allocations: 3.938 kB / 0.7543 GB, free: 15.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001/0.4216, allocations: 0.5181 MB / 0.7548 GB, free: 15.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.4231, allocations: 0.7032 MB / 0.7555 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.4242, allocations: 0.8204 MB / 0.7563 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4242, allocations: 0 / 0.7563 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.4248, allocations: 0.5594 MB / 0.7568 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.426, allocations: 0.4893 MB / 0.7573 GB, free: 12.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.429, allocations: 2.161 MB / 0.7594 GB, free: 10.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.4292, allocations: 268.1 kB / 0.7597 GB, free: 10.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007003/0.4299, allocations: 344.7 kB / 0.76 GB, free: 10.06 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4302, allocations: 140.4 kB / 0.7601 GB, free: 9.926 MB / 0.573 GB Notification: Performance of SimCode: time 1.122e-06/0.4302, allocations: 4 kB / 0.7601 GB, free: 9.922 MB / 0.573 GB Notification: Performance of Templates: time 0.02603/0.4562, allocations: 22.67 MB / 0.7823 GB, free: 3.648 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.992930707987398]