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.000883/0.000883, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 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.000952/0.000952, allocations: 169 kB / 23.28 MB, free: 1.219 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 0.9694/0.9694, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001645/0.001645, allocations: 245.9 kB / 260.5 MB, free: 12.66 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.7413/0.7413, allocations: 138.4 MB / 455.5 MB, free: 1.363 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.814e-06/1.814e-06, allocations: 0 / 0.5556 GB, free: 220 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.502e-05, allocations: 6.109 kB / 0.5556 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3618/0.3618, allocations: 147.4 MB / 0.6995 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3738, allocations: 11.09 MB / 0.7103 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3752, allocations: 43.62 kB / 0.7104 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.3761, allocations: 349 kB / 0.7107 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.3791, allocations: 1.092 MB / 0.7118 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.3825, allocations: 1.503 MB / 0.7132 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.386, allocations: 2.582 MB / 0.7158 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.3879, allocations: 1.316 MB / 0.717 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.3913, allocations: 1.701 MB / 0.7187 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.3923, allocations: 0.7049 MB / 0.7194 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.3926, allocations: 164 kB / 0.7196 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3945, allocations: 0.9357 MB / 0.7205 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.3949, allocations: 0.4945 MB / 0.7209 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000777/0.3957, allocations: 0.5884 MB / 0.7215 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.399, allocations: 1.993 MB / 0.7235 GB, free: 272 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.399, allocations: 3.938 kB / 0.7235 GB, free: 268 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.399, allocations: 0 / 0.7235 GB, free: 268 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.049e-05/0.3991, allocations: 0 / 0.7235 GB, free: 268 kB / 0.5261 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.002531/0.4016, allocations: 2.085 MB / 0.7255 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4017, allocations: 8.75 kB / 0.7255 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.4035, allocations: 0.6379 MB / 0.7261 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4047, allocations: 0.9758 MB / 0.7271 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.4048, allocations: 102.7 kB / 0.7272 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4049, allocations: 140 kB / 0.7273 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4063, allocations: 1.521 MB / 0.7288 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4063, allocations: 0 / 0.7288 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.4064, allocations: 63.92 kB / 0.7289 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.4064, allocations: 36 kB / 0.7289 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009674/0.4074, allocations: 0.8703 MB / 0.7298 GB, free: 9.52 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.004038/0.4114, allocations: 3.875 MB / 0.7335 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.4123, allocations: 0.6457 MB / 0.7342 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.4126, allocations: 224.6 kB / 0.7344 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.4129, allocations: 122 kB / 0.7345 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.4135, allocations: 0.8125 MB / 0.7353 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=107): time 3.397e-06/0.4135, allocations: 0 / 0.7353 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=107): time 0.001724/0.4152, allocations: 0.956 MB / 0.7362 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.4153, allocations: 192.9 kB / 0.7364 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.4159, allocations: 0.6942 MB / 0.7371 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.4159, allocations: 49.7 kB / 0.7371 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.4163, allocations: 0.6713 MB / 0.7378 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.4166, allocations: 368.8 kB / 0.7381 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4168, allocations: 224.4 kB / 0.7384 GB, free: 456 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.417, allocations: 0.5237 MB / 0.7389 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.4172, allocations: 142.5 kB / 0.739 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.4175, allocations: 486.3 kB / 0.7395 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.4181, allocations: 0.5187 MB / 0.74 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4181, allocations: 0 / 0.74 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00108/0.4191, allocations: 0.7814 MB / 0.7407 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4192, allocations: 8 kB / 0.7407 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4192, allocations: 7 kB / 0.7408 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.4196, allocations: 135.5 kB / 0.7409 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.4201, allocations: 251.6 kB / 0.7411 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.4218, allocations: 1.875 MB / 0.743 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.4223, allocations: 103.4 kB / 0.7431 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.4224, allocations: 39.97 kB / 0.7431 GB, free: 11.31 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003605/0.4228, allocations: 238.4 kB / 0.7433 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4229, allocations: 151.3 kB / 0.7435 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.4242, allocations: 0.9527 MB / 0.7444 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4242, allocations: 19.92 kB / 0.7444 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4242, allocations: 4 kB / 0.7444 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4242, allocations: 3.984 kB / 0.7444 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.4263, allocations: 1.732 MB / 0.7461 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4263, allocations: 0 / 0.7461 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.4268, allocations: 219.7 kB / 0.7463 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.4271, allocations: 115.6 kB / 0.7464 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.4272, allocations: 39.97 kB / 0.7465 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.4283, allocations: 1.902 MB / 0.7483 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4283, allocations: 0 / 0.7483 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4293, allocations: 0.9545 MB / 0.7493 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.4297, allocations: 262.8 kB / 0.7495 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.4298, allocations: 20 kB / 0.7495 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4302, allocations: 56.75 kB / 0.7496 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4304, allocations: 84.83 kB / 0.7497 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/0.4305, allocations: 43.97 kB / 0.7497 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003842/0.4308, allocations: 434.8 kB / 0.7501 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4308, allocations: 0 / 0.7501 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001252/0.4321, allocations: 0.518 MB / 0.7506 GB, free: 3.391 MB / 0.5573 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.001622/0.4337, allocations: 0.6975 MB / 0.7513 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.4348, allocations: 0.7336 MB / 0.752 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4348, allocations: 4 kB / 0.752 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.4355, allocations: 0.5172 MB / 0.7525 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4368, allocations: 499.8 kB / 0.753 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.4407, allocations: 2.144 MB / 0.7551 GB, free: 14.97 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4409, allocations: 268.1 kB / 0.7554 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000931/0.4418, allocations: 280.7 kB / 0.7556 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/0.443, allocations: 0.5251 MB / 0.7561 GB, free: 13.88 MB / 0.573 GB Notification: Performance of SimCode: time 1.894e-06/0.443, allocations: 0 / 0.7561 GB, free: 13.88 MB / 0.573 GB Notification: Performance of Templates: time 0.03729/0.4802, allocations: 24.5 MB / 0.7801 GB, free: 5.812 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.675714164972305]