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.0009792/0.0009792, allocations: 93.06 kB / 19.65 MB, free: 276 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.001065/0.001065, allocations: 165 kB / 23.02 MB, free: 1.547 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.9553/0.9553, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001679/0.001679, allocations: 225.6 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.7752/0.7752, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.543e-06/1.543e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.865e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3523/0.3523, allocations: 131.9 MB / 0.6839 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.3693, allocations: 22.3 MB / 0.7057 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3695, allocations: 0 / 0.7057 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.3698, allocations: 43.69 kB / 0.7057 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.3701, allocations: 103.2 kB / 0.7058 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.3857, allocations: 7.003 MB / 0.7127 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.3861, allocations: 259.7 kB / 0.7129 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.3862, allocations: 9.812 kB / 0.7129 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.3866, allocations: 187.4 kB / 0.7131 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3867, allocations: 71.78 kB / 0.7132 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3867, allocations: 15.98 kB / 0.7132 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.4032, allocations: 11.12 MB / 0.724 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4033, allocations: 43.83 kB / 0.7241 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.4035, allocations: 59.89 kB / 0.7241 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.4196, allocations: 8.357 MB / 0.7323 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4196, allocations: 3.938 kB / 0.7323 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4196, allocations: 0 / 0.7323 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.4196, allocations: 0 / 0.7323 GB, free: 6.965 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.003487/0.4231, allocations: 1.267 MB / 0.7335 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4232, allocations: 16.75 kB / 0.7335 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/0.4239, allocations: 144.3 kB / 0.7337 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4242, allocations: 176.3 kB / 0.7339 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4242, allocations: 12.38 kB / 0.7339 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4242, allocations: 16.38 kB / 0.7339 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.4251, allocations: 0.6415 MB / 0.7345 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4251, allocations: 0 / 0.7345 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.4251, allocations: 7.984 kB / 0.7345 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4251, allocations: 4 kB / 0.7345 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.4258, allocations: 492.3 kB / 0.735 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.4267, allocations: 0.8748 MB / 0.7358 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4272, allocations: 271.1 kB / 0.7361 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.4273, allocations: 60.28 kB / 0.7362 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04401/0.4713, allocations: 23.53 MB / 0.7591 GB, free: 11.24 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4713, allocations: 37.39 kB / 0.7592 GB, free: 11.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.4713, allocations: 0 / 0.7592 GB, free: 11.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.001068/0.4724, allocations: 472.9 kB / 0.7596 GB, free: 10.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.4724, allocations: 55.41 kB / 0.7597 GB, free: 10.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.4725, allocations: 189.8 kB / 0.7599 GB, free: 10.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4725, allocations: 33.7 kB / 0.7599 GB, free: 10.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4726, allocations: 155.3 kB / 0.76 GB, free: 10.26 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.4727, allocations: 87.22 kB / 0.7601 GB, free: 10.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.4727, allocations: 87.31 kB / 0.7602 GB, free: 10.08 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4728, allocations: 0.4923 MB / 0.7607 GB, free: 9.574 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.473, allocations: 87.92 kB / 0.7608 GB, free: 9.488 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.4731, allocations: 157.9 kB / 0.7609 GB, free: 9.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.4734, allocations: 254.2 kB / 0.7612 GB, free: 9.043 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4734, allocations: 0 / 0.7612 GB, free: 9.043 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004807/0.4739, allocations: 350.4 kB / 0.7615 GB, free: 8.695 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4739, allocations: 4 kB / 0.7615 GB, free: 8.691 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4739, allocations: 0 / 0.7615 GB, free: 8.691 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4739, allocations: 8.156 kB / 0.7615 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4741, allocations: 79.88 kB / 0.7616 GB, free: 8.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4741, allocations: 5.094 kB / 0.7616 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.4742, allocations: 19.84 kB / 0.7616 GB, free: 8.582 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.4742, allocations: 31.97 kB / 0.7616 GB, free: 8.551 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 9.032e-05/0.4743, allocations: 168.5 kB / 0.7618 GB, free: 8.375 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4744, allocations: 47.59 kB / 0.7618 GB, free: 8.328 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.4756, allocations: 1.606 MB / 0.7634 GB, free: 6.723 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4756, allocations: 15.98 kB / 0.7634 GB, free: 6.707 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4756, allocations: 0 / 0.7634 GB, free: 6.707 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4756, allocations: 4 kB / 0.7634 GB, free: 6.703 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.4773, allocations: 2.229 MB / 0.7656 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4773, allocations: 0 / 0.7656 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.4774, allocations: 59.89 kB / 0.7657 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4774, allocations: 0 / 0.7657 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4774, allocations: 8 kB / 0.7657 GB, free: 4.312 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4774, allocations: 0 / 0.7657 GB, free: 4.312 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4774, allocations: 0 / 0.7657 GB, free: 4.312 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.4779, allocations: 0.5396 MB / 0.7662 GB, free: 3.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.4779, allocations: 59.64 kB / 0.7663 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.478, allocations: 4 kB / 0.7663 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.478, allocations: 11.98 kB / 0.7663 GB, free: 3.676 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.4781, allocations: 15.97 kB / 0.7663 GB, free: 3.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4781, allocations: 12 kB / 0.7663 GB, free: 3.648 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.4781, allocations: 139.9 kB / 0.7664 GB, free: 3.512 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4781, allocations: 0 / 0.7664 GB, free: 3.512 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003636/0.4818, allocations: 1.719 MB / 0.7681 GB, free: 1.789 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.004367/0.4861, allocations: 2.208 MB / 0.7703 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.4865, allocations: 285.4 kB / 0.7705 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4865, allocations: 0 / 0.7705 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4866, allocations: 165.5 kB / 0.7707 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.487, allocations: 90.45 kB / 0.7708 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4881, allocations: 0.5587 MB / 0.7713 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.4881, allocations: 106.7 kB / 0.7714 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.4884, allocations: 410.2 kB / 0.7718 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.4885, allocations: 52.47 kB / 0.7719 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.4885, allocations: 4 kB / 0.7719 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.06306/0.5516, allocations: 61.68 MB / 0.8321 GB, free: 252 kB / 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.914810105226934]