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.0009848/0.0009848, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001402/0.001402, allocations: 165 kB / 23.27 MB, free: 1.219 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.9183/0.9183, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001913/0.001913, allocations: 245.7 kB / 260.5 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.745/0.745, allocations: 138.4 MB / 455.5 MB, free: 30.08 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.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.773e-06/1.773e-06, allocations: 0 / 0.5556 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.515e-05, allocations: 5.828 kB / 0.5556 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3694/0.3695, allocations: 129.4 MB / 0.6819 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.3918, allocations: 21.99 MB / 0.7034 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.3921, allocations: 1.094 kB / 0.7034 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3924, allocations: 45.39 kB / 0.7034 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3927, allocations: 106.3 kB / 0.7035 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02471/0.4174, allocations: 7.013 MB / 0.7104 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.4178, allocations: 253.6 kB / 0.7106 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.4178, allocations: 7.312 kB / 0.7106 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.4182, allocations: 184.9 kB / 0.7108 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.4183, allocations: 79.05 kB / 0.7109 GB, free: 48.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.4184, allocations: 8.25 kB / 0.7109 GB, free: 48.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01793/0.4363, allocations: 11.13 MB / 0.7218 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.4364, allocations: 42.34 kB / 0.7218 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.4366, allocations: 64.27 kB / 0.7219 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.4552, allocations: 8.353 MB / 0.73 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4552, allocations: 0 / 0.73 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4552, allocations: 0 / 0.73 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4552, allocations: 0 / 0.73 GB, free: 38.21 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003257/0.4584, allocations: 1.268 MB / 0.7313 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4585, allocations: 13.89 kB / 0.7313 GB, free: 37.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/0.4591, allocations: 149.3 kB / 0.7314 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4593, allocations: 174.3 kB / 0.7316 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4593, allocations: 11.91 kB / 0.7316 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.4593, allocations: 20.66 kB / 0.7316 GB, free: 37.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.46, allocations: 0.6023 MB / 0.7322 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.46, allocations: 0 / 0.7322 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.46, allocations: 11.09 kB / 0.7322 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.46, allocations: 6.906 kB / 0.7322 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.4605, allocations: 418.1 kB / 0.7326 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.4611, allocations: 0.8528 MB / 0.7335 GB, free: 35.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.4615, allocations: 251.5 kB / 0.7337 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.4615, allocations: 56.69 kB / 0.7338 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03337/0.4949, allocations: 19.44 MB / 0.7527 GB, free: 23.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4949, allocations: 40.36 kB / 0.7528 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.4949, allocations: 0 / 0.7528 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=25): time 0.0008915/0.4958, allocations: 433.6 kB / 0.7532 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.4958, allocations: 51.41 kB / 0.7532 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.4959, allocations: 187.7 kB / 0.7534 GB, free: 22.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4959, allocations: 37.7 kB / 0.7535 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.496, allocations: 158 kB / 0.7536 GB, free: 22.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.496, allocations: 88.7 kB / 0.7537 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4961, allocations: 85.8 kB / 0.7538 GB, free: 22.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.4961, allocations: 0.4935 MB / 0.7543 GB, free: 21.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.4962, allocations: 71.92 kB / 0.7543 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.4963, allocations: 144.5 kB / 0.7545 GB, free: 21.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.4965, allocations: 233.7 kB / 0.7547 GB, free: 21.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4965, allocations: 0 / 0.7547 GB, free: 21.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003833/0.4969, allocations: 316.4 kB / 0.755 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4969, allocations: 11.94 kB / 0.755 GB, free: 21.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4969, allocations: 7.922 kB / 0.755 GB, free: 21.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4969, allocations: 4 kB / 0.755 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4971, allocations: 79.94 kB / 0.7551 GB, free: 21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4971, allocations: 7.938 kB / 0.7551 GB, free: 21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.4971, allocations: 24 kB / 0.7551 GB, free: 20.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4971, allocations: 19.98 kB / 0.7551 GB, free: 20.95 MB / 0.5573 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 7.119e-05/0.4972, allocations: 168.5 kB / 0.7553 GB, free: 20.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4973, allocations: 47.59 kB / 0.7553 GB, free: 20.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/0.4981, allocations: 1.37 MB / 0.7567 GB, free: 19.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4981, allocations: 15.98 kB / 0.7567 GB, free: 19.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4981, allocations: 0 / 0.7567 GB, free: 19.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.4981, allocations: 3.984 kB / 0.7567 GB, free: 19.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4992, allocations: 1.979 MB / 0.7586 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4992, allocations: 0 / 0.7586 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4993, allocations: 55.89 kB / 0.7587 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4993, allocations: 7.984 kB / 0.7587 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4993, allocations: 4 kB / 0.7587 GB, free: 17.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4993, allocations: 4 kB / 0.7587 GB, free: 17.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4993, allocations: 0 / 0.7587 GB, free: 17.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.4996, allocations: 0.4898 MB / 0.7592 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.4997, allocations: 59.62 kB / 0.7592 GB, free: 16.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4997, allocations: 8 kB / 0.7592 GB, free: 16.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.4998, allocations: 14.38 kB / 0.7593 GB, free: 16.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.4998, allocations: 19.97 kB / 0.7593 GB, free: 16.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.4998, allocations: 15.98 kB / 0.7593 GB, free: 16.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.4999, allocations: 133.9 kB / 0.7594 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4999, allocations: 0 / 0.7594 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003843/0.5037, allocations: 1.719 MB / 0.7611 GB, free: 14.77 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: 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.006974/0.5107, allocations: 2.25 MB / 0.7633 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.5112, allocations: 243.4 kB / 0.7635 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5112, allocations: 4.125 kB / 0.7635 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.5113, allocations: 141.4 kB / 0.7637 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.5118, allocations: 103.7 kB / 0.7638 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.5127, allocations: 0.5448 MB / 0.7643 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.5128, allocations: 94.83 kB / 0.7644 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003661/0.5132, allocations: 404.7 kB / 0.7648 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.5134, allocations: 190 kB / 0.7649 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/0.5134, allocations: 4 kB / 0.765 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of Templates: time 0.07731/0.5907, allocations: 70.33 MB / 0.8336 GB, free: 4.637 MB / 0.6198 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: 7.258516490925103]