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.0008431/0.0008431, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.000975/0.000975, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001662/0.001662, allocations: 241.4 kB / 261.3 MB, free: 12.67 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.7873/0.7873, allocations: 138.4 MB / 456.3 MB, free: 29.88 MB / 410.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.563e-06/1.563e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.834e-05, allocations: 5.969 kB / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3925/0.3925, allocations: 147.4 MB / 0.7002 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.4052, allocations: 11.08 MB / 0.7111 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.4068, allocations: 40.53 kB / 0.7111 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.4079, allocations: 347.9 kB / 0.7114 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.411, allocations: 1.091 MB / 0.7125 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.4147, allocations: 1.503 MB / 0.714 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.4182, allocations: 2.591 MB / 0.7165 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.4206, allocations: 1.312 MB / 0.7178 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.4243, allocations: 1.709 MB / 0.7195 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.4253, allocations: 0.6992 MB / 0.7201 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.4256, allocations: 164.3 kB / 0.7203 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4274, allocations: 0.9382 MB / 0.7212 GB, free: 45.58 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.4278, allocations: 499.9 kB / 0.7217 GB, free: 45.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.4284, allocations: 0.591 MB / 0.7223 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.4315, allocations: 1.996 MB / 0.7242 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4315, allocations: 0 / 0.7242 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4315, allocations: 0 / 0.7242 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.151e-05/0.4316, allocations: 0 / 0.7242 GB, free: 44.31 MB / 0.5573 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.002409/0.434, allocations: 2.084 MB / 0.7263 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.434, allocations: 9.312 kB / 0.7263 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.4362, allocations: 0.6391 MB / 0.7269 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4374, allocations: 0.9767 MB / 0.7278 GB, free: 42.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.4375, allocations: 101.6 kB / 0.7279 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.4376, allocations: 141.6 kB / 0.7281 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4389, allocations: 1.519 MB / 0.7296 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.4389, allocations: 2.656 kB / 0.7296 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.439, allocations: 61.28 kB / 0.7296 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.439, allocations: 32.41 kB / 0.7296 GB, free: 41.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.44, allocations: 0.8776 MB / 0.7305 GB, free: 40.74 MB / 0.5573 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.003606/0.4436, allocations: 3.872 MB / 0.7343 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.4444, allocations: 0.6538 MB / 0.7349 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.4447, allocations: 224.5 kB / 0.7351 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.4449, allocations: 89.84 kB / 0.7352 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/0.4454, allocations: 0.8206 MB / 0.736 GB, free: 36.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 3.166e-06/0.4454, allocations: 0 / 0.736 GB, free: 36.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=107): time 0.001702/0.4471, allocations: 0.9543 MB / 0.737 GB, free: 36.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.4472, allocations: 199.8 kB / 0.7371 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.4476, allocations: 0.6882 MB / 0.7378 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.4477, allocations: 51.62 kB / 0.7379 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.448, allocations: 0.6667 MB / 0.7385 GB, free: 35.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.4481, allocations: 370.7 kB / 0.7389 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.4483, allocations: 231.3 kB / 0.7391 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.4484, allocations: 0.5216 MB / 0.7396 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4486, allocations: 144.4 kB / 0.7397 GB, free: 34.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.4489, allocations: 483.9 kB / 0.7402 GB, free: 33.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.4494, allocations: 0.5212 MB / 0.7407 GB, free: 33.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4494, allocations: 2.969 kB / 0.7407 GB, free: 33.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001017/0.4504, allocations: 0.7808 MB / 0.7415 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4504, allocations: 9.719 kB / 0.7415 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4504, allocations: 3.156 kB / 0.7415 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.4509, allocations: 138.1 kB / 0.7416 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.4514, allocations: 247.2 kB / 0.7419 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009888/0.4524, allocations: 1.88 MB / 0.7437 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.4529, allocations: 105.4 kB / 0.7438 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.453, allocations: 44.66 kB / 0.7438 GB, free: 31.14 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.0003477/0.4533, allocations: 230.3 kB / 0.7441 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.4535, allocations: 145.6 kB / 0.7442 GB, free: 30.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4547, allocations: 0.9684 MB / 0.7451 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4547, allocations: 15.03 kB / 0.7452 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.4547, allocations: 0 / 0.7452 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4547, allocations: 3.984 kB / 0.7452 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.4567, allocations: 1.724 MB / 0.7468 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4567, allocations: 0 / 0.7468 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.4572, allocations: 217.2 kB / 0.747 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.4575, allocations: 118.1 kB / 0.7472 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.4576, allocations: 34.59 kB / 0.7472 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/0.4584, allocations: 1.892 MB / 0.749 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4584, allocations: 0 / 0.749 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4594, allocations: 0.9553 MB / 0.75 GB, free: 26.92 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.4597, allocations: 266.6 kB / 0.7502 GB, free: 26.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.4598, allocations: 21.72 kB / 0.7502 GB, free: 26.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.4602, allocations: 57.8 kB / 0.7503 GB, free: 26.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4603, allocations: 83.28 kB / 0.7504 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.4604, allocations: 44.5 kB / 0.7504 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002739/0.4606, allocations: 438.2 kB / 0.7508 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4606, allocations: 0 / 0.7508 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001095/0.4617, allocations: 0.5092 MB / 0.7513 GB, free: 26.22 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.001447/0.4632, allocations: 0.7085 MB / 0.752 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009564/0.4641, allocations: 0.7373 MB / 0.7528 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.4641, allocations: 2.844 kB / 0.7528 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.4646, allocations: 0.5182 MB / 0.7533 GB, free: 25.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4657, allocations: 492.7 kB / 0.7537 GB, free: 25.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.4688, allocations: 2.133 MB / 0.7558 GB, free: 23.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.469, allocations: 270.7 kB / 0.7561 GB, free: 23.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008389/0.4698, allocations: 265.5 kB / 0.7563 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/0.4707, allocations: 0.5301 MB / 0.7568 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of SimCode: time 1.332e-06/0.4707, allocations: 0 / 0.7568 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.02696/0.4976, allocations: 24.83 MB / 0.7811 GB, free: 288 kB / 0.5573 GB " [Timeout remaining time 659] 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: 5.000220318324864]