Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.001235/0.001235, allocations: 77.09 kB / 20.66 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.001662/0.001662, allocations: 169 kB / 24.06 MB, free: 456 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 0.978/0.978, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.002072/0.002072, allocations: 243.5 kB / 261.3 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.7319/0.7319, allocations: 138.5 MB / 456.3 MB, free: 1.422 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.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5564 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.576e-05, allocations: 2.312 kB / 0.5564 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3558/0.3559, allocations: 129.4 MB / 0.6827 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.3726, allocations: 21.98 MB / 0.7042 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.3728, allocations: 3.938 kB / 0.7042 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3731, allocations: 39.77 kB / 0.7042 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.3733, allocations: 103.2 kB / 0.7043 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.3855, allocations: 7 MB / 0.7112 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.3859, allocations: 257.6 kB / 0.7114 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.386, allocations: 13.75 kB / 0.7114 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.3863, allocations: 183.4 kB / 0.7116 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3864, allocations: 79.77 kB / 0.7117 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3864, allocations: 12 kB / 0.7117 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.4032, allocations: 11.13 MB / 0.7226 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.4033, allocations: 39.88 kB / 0.7226 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4034, allocations: 67.83 kB / 0.7227 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.4192, allocations: 8.361 MB / 0.7308 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4192, allocations: 0 / 0.7308 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4192, allocations: 0 / 0.7308 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.4192, allocations: 0 / 0.7308 GB, free: 9.043 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003792/0.423, allocations: 1.263 MB / 0.7321 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.423, allocations: 8.75 kB / 0.7321 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.4237, allocations: 148.3 kB / 0.7322 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4239, allocations: 180.3 kB / 0.7324 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4239, allocations: 12.38 kB / 0.7324 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4239, allocations: 20.38 kB / 0.7324 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.4247, allocations: 0.5952 MB / 0.733 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4247, allocations: 0.625 kB / 0.733 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.4247, allocations: 12 kB / 0.733 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.4247, allocations: 4 kB / 0.733 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.4253, allocations: 422.4 kB / 0.7334 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.426, allocations: 0.854 MB / 0.7342 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.4265, allocations: 257.3 kB / 0.7345 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.4266, allocations: 51.66 kB / 0.7345 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04043/0.467, allocations: 19.33 MB / 0.7534 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4671, allocations: 44.52 kB / 0.7535 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.4671, allocations: 3.938 kB / 0.7535 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of matching and sorting (n=25): time 0.001069/0.4681, allocations: 434.9 kB / 0.7539 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4682, allocations: 55.41 kB / 0.7539 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4683, allocations: 187.9 kB / 0.7541 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4683, allocations: 29.7 kB / 0.7541 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.4684, allocations: 163.3 kB / 0.7543 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.4684, allocations: 87.2 kB / 0.7544 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.4685, allocations: 83.31 kB / 0.7545 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4687, allocations: 0.4962 MB / 0.7549 GB, free: 52 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.4688, allocations: 79.84 kB / 0.755 GB, free: 15.97 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4689, allocations: 138 kB / 0.7551 GB, free: 15.81 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.4692, allocations: 233 kB / 0.7554 GB, free: 15.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4692, allocations: 0 / 0.7554 GB, free: 15.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004654/0.4697, allocations: 320.9 kB / 0.7557 GB, free: 15.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4697, allocations: 10.66 kB / 0.7557 GB, free: 15.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4697, allocations: 4 kB / 0.7557 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4697, allocations: 4 kB / 0.7557 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.4699, allocations: 83.88 kB / 0.7558 GB, free: 15.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4699, allocations: 0 / 0.7558 GB, free: 15.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.47, allocations: 27.84 kB / 0.7558 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.47, allocations: 23.97 kB / 0.7558 GB, free: 15.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4701, allocations: 168.5 kB / 0.756 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4703, allocations: 47.59 kB / 0.756 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.4713, allocations: 1.376 MB / 0.7574 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4713, allocations: 11.98 kB / 0.7574 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4713, allocations: 0 / 0.7574 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4713, allocations: 4 kB / 0.7574 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4728, allocations: 1.964 MB / 0.7593 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4728, allocations: 3.938 kB / 0.7593 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.4729, allocations: 59.89 kB / 0.7594 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4729, allocations: 0 / 0.7594 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4729, allocations: 12 kB / 0.7594 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4729, allocations: 0 / 0.7594 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4729, allocations: 4 kB / 0.7594 GB, free: 11.35 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.4736, allocations: 0.4926 MB / 0.7599 GB, free: 10.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.4737, allocations: 60.39 kB / 0.7599 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4737, allocations: 8 kB / 0.7599 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.4738, allocations: 11.98 kB / 0.7599 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.4738, allocations: 19.97 kB / 0.76 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4738, allocations: 8 kB / 0.76 GB, free: 10.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.4739, allocations: 136.3 kB / 0.7601 GB, free: 10.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4739, allocations: 0 / 0.7601 GB, free: 10.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004062/0.4779, allocations: 1.723 MB / 0.7618 GB, free: 8.871 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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006778/0.4847, allocations: 2.26 MB / 0.764 GB, free: 6.602 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.4852, allocations: 236.9 kB / 0.7642 GB, free: 6.371 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4852, allocations: 4 kB / 0.7642 GB, free: 6.367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4853, allocations: 149.4 kB / 0.7644 GB, free: 6.219 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.4857, allocations: 96.27 kB / 0.7644 GB, free: 6.129 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.4866, allocations: 0.5468 MB / 0.765 GB, free: 5.551 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.4867, allocations: 102.8 kB / 0.7651 GB, free: 5.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.4871, allocations: 409.5 kB / 0.7655 GB, free: 5.031 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.4873, allocations: 186.1 kB / 0.7656 GB, free: 4.848 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/0.4873, allocations: 0 / 0.7656 GB, free: 4.848 MB / 0.573 GB Notification: Performance of Templates: time 0.06779/0.5551, allocations: 70.39 MB / 0.8344 GB, free: 14.5 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.735572073142976]