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.0009111/0.0009111, allocations: 89.08 kB / 19.42 MB, free: 496 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.0009268/0.0009268, allocations: 169 kB / 22.73 MB, free: 1.824 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.9904/0.9904, allocations: 177.1 MB / 203.1 MB, free: 5.652 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.001778/0.001778, allocations: 237.7 kB / 259.7 MB, free: 12.91 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.758/0.758, allocations: 138.4 MB / 454.7 MB, free: 1.539 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.693e-06/1.693e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.386e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3608/0.3609, allocations: 131.6 MB / 0.6828 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.3759, allocations: 22.28 MB / 0.7045 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.3761, allocations: 4 kB / 0.7045 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.3764, allocations: 51.62 kB / 0.7046 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.3768, allocations: 103.2 kB / 0.7047 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/0.3897, allocations: 6.987 MB / 0.7115 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.3901, allocations: 255.7 kB / 0.7117 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.3901, allocations: 13.8 kB / 0.7118 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3904, allocations: 183.4 kB / 0.7119 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3906, allocations: 79.75 kB / 0.712 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3906, allocations: 8 kB / 0.712 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/0.407, allocations: 11.13 MB / 0.7229 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.4071, allocations: 43.81 kB / 0.7229 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.4072, allocations: 63.91 kB / 0.723 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.422, allocations: 8.357 MB / 0.7312 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.422, allocations: 0 / 0.7312 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.236e-06/0.422, allocations: 0 / 0.7312 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.422, allocations: 0 / 0.7312 GB, free: 7.473 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.003288/0.4253, allocations: 1.259 MB / 0.7324 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4253, allocations: 8.75 kB / 0.7324 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006976/0.426, allocations: 152.3 kB / 0.7325 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.4262, allocations: 172.3 kB / 0.7327 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4262, allocations: 12.38 kB / 0.7327 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4263, allocations: 20.38 kB / 0.7327 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.4271, allocations: 0.6376 MB / 0.7334 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.4271, allocations: 0 / 0.7334 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4271, allocations: 12 kB / 0.7334 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4271, allocations: 4 kB / 0.7334 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.4278, allocations: 488.5 kB / 0.7338 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4289, allocations: 0.8748 MB / 0.7347 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.4295, allocations: 274 kB / 0.7349 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4296, allocations: 55.66 kB / 0.735 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04529/0.4749, allocations: 23.54 MB / 0.758 GB, free: 11.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4749, allocations: 41.39 kB / 0.758 GB, free: 11.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.4749, allocations: 0 / 0.758 GB, free: 11.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.001153/0.4761, allocations: 466.8 kB / 0.7585 GB, free: 11.24 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4761, allocations: 55.41 kB / 0.7585 GB, free: 11.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4762, allocations: 193.8 kB / 0.7587 GB, free: 10.97 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4763, allocations: 29.7 kB / 0.7587 GB, free: 10.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4763, allocations: 155.3 kB / 0.7589 GB, free: 10.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.4764, allocations: 95.22 kB / 0.759 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.4765, allocations: 83.33 kB / 0.7591 GB, free: 10.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4766, allocations: 0.4923 MB / 0.7595 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4768, allocations: 95.8 kB / 0.7596 GB, free: 9.992 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.4769, allocations: 151.9 kB / 0.7598 GB, free: 9.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4772, allocations: 249.2 kB / 0.76 GB, free: 9.555 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4772, allocations: 4 kB / 0.76 GB, free: 9.551 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005171/0.4777, allocations: 347.5 kB / 0.7604 GB, free: 9.207 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4778, allocations: 8 kB / 0.7604 GB, free: 9.199 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4778, allocations: 0 / 0.7604 GB, free: 9.199 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4778, allocations: 4 kB / 0.7604 GB, free: 9.195 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.478, allocations: 83.88 kB / 0.7604 GB, free: 9.113 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.478, allocations: 4 kB / 0.7604 GB, free: 9.109 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.4781, allocations: 19.84 kB / 0.7605 GB, free: 9.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.4781, allocations: 19.98 kB / 0.7605 GB, free: 9.07 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.0001331/0.4782, allocations: 180.7 kB / 0.7607 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.4784, allocations: 47.59 kB / 0.7607 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.4799, allocations: 1.6 MB / 0.7623 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4799, allocations: 15.97 kB / 0.7623 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4799, allocations: 3.938 kB / 0.7623 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4799, allocations: 0 / 0.7623 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.4819, allocations: 2.232 MB / 0.7645 GB, free: 4.887 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4819, allocations: 4 kB / 0.7645 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.482, allocations: 51.89 kB / 0.7645 GB, free: 4.832 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.482, allocations: 4 kB / 0.7645 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.482, allocations: 7.984 kB / 0.7645 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.4821, allocations: 4 kB / 0.7645 GB, free: 4.816 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4821, allocations: 0 / 0.7645 GB, free: 4.816 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.4826, allocations: 0.5317 MB / 0.765 GB, free: 4.262 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.4827, allocations: 59.62 kB / 0.7651 GB, free: 4.203 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4827, allocations: 8 kB / 0.7651 GB, free: 4.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.4828, allocations: 8 kB / 0.7651 GB, free: 4.188 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.4829, allocations: 23.97 kB / 0.7651 GB, free: 4.164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4829, allocations: 15.98 kB / 0.7652 GB, free: 4.148 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.4829, allocations: 131.2 kB / 0.7653 GB, free: 4.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4829, allocations: 0 / 0.7653 GB, free: 4.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004235/0.4872, allocations: 1.723 MB / 0.767 GB, free: 2.293 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.006545/0.4937, allocations: 2.209 MB / 0.7691 GB, free: 76 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.4942, allocations: 277.1 kB / 0.7694 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4942, allocations: 4 kB / 0.7694 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.4944, allocations: 165.4 kB / 0.7696 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.495, allocations: 94.59 kB / 0.7696 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.496, allocations: 0.5626 MB / 0.7702 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.4961, allocations: 98.69 kB / 0.7703 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003366/0.4964, allocations: 409.8 kB / 0.7707 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.4965, allocations: 44.47 kB / 0.7707 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of SimCode: time 1.683e-06/0.4965, allocations: 0 / 0.7707 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.06031/0.5568, allocations: 61.69 MB / 0.831 GB, free: 0.75 MB / 0.6355 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: 6.92547439201735]