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.0007357/0.0007357, 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.0008991/0.0008991, allocations: 173 kB / 23.03 MB, free: 1.543 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.9365/0.9365, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.001837/0.001837, allocations: 248.5 kB / 260.2 MB, free: 12.82 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.6962/0.6962, allocations: 138.4 MB / 455.2 MB, free: 1.527 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.473e-06/1.473e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.643e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3552/0.3552, allocations: 131.9 MB / 0.6839 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.372, allocations: 22.31 MB / 0.7057 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3722, allocations: 0 / 0.7057 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.3725, allocations: 51.67 kB / 0.7057 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.3728, allocations: 99.23 kB / 0.7058 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01585/0.3887, allocations: 7.006 MB / 0.7127 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.3891, allocations: 255.8 kB / 0.7129 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.3891, allocations: 9.797 kB / 0.7129 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.3895, allocations: 183.4 kB / 0.7131 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3897, allocations: 79.77 kB / 0.7132 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3897, allocations: 8 kB / 0.7132 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.4082, allocations: 11.14 MB / 0.724 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.4083, allocations: 39.83 kB / 0.7241 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4084, allocations: 55.91 kB / 0.7241 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.4246, allocations: 8.364 MB / 0.7323 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4246, allocations: 0 / 0.7323 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4246, allocations: 0 / 0.7323 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4246, allocations: 0 / 0.7323 GB, free: 6.938 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.003013/0.4276, allocations: 1.263 MB / 0.7335 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4277, allocations: 12.75 kB / 0.7336 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/0.4286, allocations: 148.8 kB / 0.7337 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4288, allocations: 172.3 kB / 0.7339 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.4288, allocations: 16.31 kB / 0.7339 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.4289, allocations: 24.38 kB / 0.7339 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/0.4298, allocations: 0.6376 MB / 0.7345 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4298, allocations: 3.938 kB / 0.7345 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.4298, allocations: 8 kB / 0.7345 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4298, allocations: 7.25 kB / 0.7345 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.4307, allocations: 483.4 kB / 0.735 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.4315, allocations: 0.871 MB / 0.7358 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.4321, allocations: 262.8 kB / 0.7361 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.4322, allocations: 59.66 kB / 0.7362 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05018/0.4823, allocations: 23.54 MB / 0.7591 GB, free: 11.22 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4824, allocations: 41.39 kB / 0.7592 GB, free: 11.17 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.4824, allocations: 0 / 0.7592 GB, free: 11.17 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.001089/0.4835, allocations: 466.8 kB / 0.7596 GB, free: 10.71 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.4835, allocations: 55.41 kB / 0.7597 GB, free: 10.64 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.4836, allocations: 193.8 kB / 0.7599 GB, free: 10.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4836, allocations: 29.7 kB / 0.7599 GB, free: 10.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.4837, allocations: 159.3 kB / 0.76 GB, free: 10.23 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.4837, allocations: 87.22 kB / 0.7601 GB, free: 10.15 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.4838, allocations: 87.31 kB / 0.7602 GB, free: 10.05 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4839, allocations: 0.4962 MB / 0.7607 GB, free: 9.547 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.484, allocations: 83.92 kB / 0.7608 GB, free: 9.465 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.4842, allocations: 152.8 kB / 0.7609 GB, free: 9.293 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4845, allocations: 253.2 kB / 0.7612 GB, free: 9.023 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4845, allocations: 0 / 0.7612 GB, free: 9.023 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005037/0.485, allocations: 352.9 kB / 0.7615 GB, free: 8.672 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.485, allocations: 4 kB / 0.7615 GB, free: 8.668 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.485, allocations: 4 kB / 0.7615 GB, free: 8.664 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.485, allocations: 3.938 kB / 0.7615 GB, free: 8.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4852, allocations: 79.88 kB / 0.7616 GB, free: 8.582 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4852, allocations: 5.094 kB / 0.7616 GB, free: 8.578 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.4853, allocations: 19.84 kB / 0.7616 GB, free: 8.559 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4853, allocations: 27.92 kB / 0.7616 GB, free: 8.531 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.0001035/0.4854, allocations: 168.7 kB / 0.7618 GB, free: 8.355 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4855, allocations: 55.56 kB / 0.7619 GB, free: 8.301 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4867, allocations: 1.6 MB / 0.7634 GB, free: 6.699 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.4867, allocations: 11.98 kB / 0.7634 GB, free: 6.688 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4868, allocations: 7.984 kB / 0.7634 GB, free: 6.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4868, allocations: 0 / 0.7634 GB, free: 6.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.4883, allocations: 2.233 MB / 0.7656 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4883, allocations: 0 / 0.7656 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4885, allocations: 55.95 kB / 0.7657 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4885, allocations: 0 / 0.7657 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4885, allocations: 11.98 kB / 0.7657 GB, free: 4.285 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4885, allocations: 7.625 kB / 0.7657 GB, free: 4.281 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4885, allocations: 0 / 0.7657 GB, free: 4.281 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.489, allocations: 0.5279 MB / 0.7662 GB, free: 3.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.489, allocations: 63.62 kB / 0.7663 GB, free: 3.668 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4891, allocations: 4 kB / 0.7663 GB, free: 3.664 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.4892, allocations: 8 kB / 0.7663 GB, free: 3.656 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.4892, allocations: 19.97 kB / 0.7663 GB, free: 3.637 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4892, allocations: 19.98 kB / 0.7663 GB, free: 3.617 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.4893, allocations: 140 kB / 0.7664 GB, free: 3.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4893, allocations: 0 / 0.7664 GB, free: 3.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003634/0.4929, allocations: 1.715 MB / 0.7681 GB, free: 1.762 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.006304/0.4992, allocations: 2.209 MB / 0.7703 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.4997, allocations: 285 kB / 0.7706 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4998, allocations: 0 / 0.7706 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4999, allocations: 165.5 kB / 0.7707 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.5003, allocations: 87.41 kB / 0.7708 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5014, allocations: 0.5704 MB / 0.7713 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.5014, allocations: 102.7 kB / 0.7714 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003553/0.5018, allocations: 400.7 kB / 0.7718 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5019, allocations: 52.47 kB / 0.7719 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.893e-06/0.5019, allocations: 0 / 0.7719 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.08076/0.5826, allocations: 71.9 MB / 0.8421 GB, free: 6 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.166721559595317]