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.0009968/0.0009968, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001042/0.001042, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.001736/0.001736, allocations: 243.3 kB / 260.5 MB, free: 12.89 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.7709/0.7709, allocations: 138.4 MB / 455.4 MB, free: 1.5 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.674e-06/1.674e-06, allocations: 0 / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.961e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3346/0.3346, allocations: 131.6 MB / 0.6835 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.3503, allocations: 22.27 MB / 0.7053 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3505, allocations: 4 kB / 0.7053 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3508, allocations: 39.69 kB / 0.7053 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.351, allocations: 103.2 kB / 0.7054 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.3639, allocations: 6.999 MB / 0.7123 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3643, allocations: 255.7 kB / 0.7125 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.3643, allocations: 9.797 kB / 0.7125 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.3646, allocations: 183.4 kB / 0.7127 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3648, allocations: 79.77 kB / 0.7128 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3648, allocations: 8 kB / 0.7128 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01746/0.3822, allocations: 11.13 MB / 0.7236 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3824, allocations: 47.81 kB / 0.7237 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3825, allocations: 55.91 kB / 0.7237 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.4001, allocations: 8.357 MB / 0.7319 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4001, allocations: 4 kB / 0.7319 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4001, allocations: 0 / 0.7319 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4001, allocations: 4 kB / 0.7319 GB, free: 7.426 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.008781/0.4089, allocations: 1.259 MB / 0.7331 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4089, allocations: 8.75 kB / 0.7331 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.41, allocations: 148.3 kB / 0.7333 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4103, allocations: 179.4 kB / 0.7334 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4103, allocations: 12.38 kB / 0.7335 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.4103, allocations: 24.31 kB / 0.7335 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.4113, allocations: 0.6376 MB / 0.7341 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4113, allocations: 0 / 0.7341 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.4113, allocations: 15.94 kB / 0.7341 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4114, allocations: 4 kB / 0.7341 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.4122, allocations: 480.3 kB / 0.7346 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.4161, allocations: 0.874 MB / 0.7354 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.4168, allocations: 270.1 kB / 0.7357 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.4169, allocations: 55.66 kB / 0.7357 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09034/0.5072, allocations: 23.55 MB / 0.7587 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5072, allocations: 41.39 kB / 0.7588 GB, free: 11.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.5072, allocations: 0 / 0.7588 GB, free: 11.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.001182/0.5084, allocations: 462.9 kB / 0.7592 GB, free: 11.19 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.5085, allocations: 59.34 kB / 0.7593 GB, free: 11.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.5086, allocations: 189.8 kB / 0.7595 GB, free: 10.92 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5086, allocations: 33.7 kB / 0.7595 GB, free: 10.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.5087, allocations: 159.3 kB / 0.7597 GB, free: 10.71 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.5087, allocations: 79.23 kB / 0.7597 GB, free: 10.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.5088, allocations: 87.31 kB / 0.7598 GB, free: 10.54 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.509, allocations: 0.5001 MB / 0.7603 GB, free: 10.03 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5091, allocations: 83.92 kB / 0.7604 GB, free: 9.949 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.5094, allocations: 150 kB / 0.7605 GB, free: 9.777 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.5097, allocations: 253.2 kB / 0.7608 GB, free: 9.508 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5097, allocations: 0 / 0.7608 GB, free: 9.508 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006109/0.5103, allocations: 350.4 kB / 0.7611 GB, free: 9.16 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5104, allocations: 7.984 kB / 0.7611 GB, free: 9.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5104, allocations: 4 kB / 0.7611 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5104, allocations: 0 / 0.7611 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5106, allocations: 83.88 kB / 0.7612 GB, free: 9.066 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5106, allocations: 4 kB / 0.7612 GB, free: 9.062 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.5107, allocations: 19.84 kB / 0.7612 GB, free: 9.043 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.5107, allocations: 27.67 kB / 0.7612 GB, free: 9.02 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.0001294/0.5108, allocations: 168.5 kB / 0.7614 GB, free: 8.844 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.511, allocations: 55.7 kB / 0.7615 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.5123, allocations: 1.602 MB / 0.763 GB, free: 7.184 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.5123, allocations: 11.98 kB / 0.763 GB, free: 7.172 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5123, allocations: 4 kB / 0.763 GB, free: 7.168 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5123, allocations: 3.984 kB / 0.763 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.514, allocations: 2.229 MB / 0.7652 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.514, allocations: 0 / 0.7652 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5141, allocations: 51.95 kB / 0.7653 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5141, allocations: 4 kB / 0.7653 GB, free: 4.785 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5142, allocations: 11.98 kB / 0.7653 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5142, allocations: 0 / 0.7653 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5142, allocations: 3.938 kB / 0.7653 GB, free: 4.77 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.5147, allocations: 0.5279 MB / 0.7658 GB, free: 4.219 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.5147, allocations: 59.64 kB / 0.7659 GB, free: 4.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.5148, allocations: 7.984 kB / 0.7659 GB, free: 4.152 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.5149, allocations: 8 kB / 0.7659 GB, free: 4.145 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.5149, allocations: 19.97 kB / 0.7659 GB, free: 4.125 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.5149, allocations: 15.98 kB / 0.7659 GB, free: 4.109 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.515, allocations: 139.2 kB / 0.766 GB, free: 3.973 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.515, allocations: 0 / 0.766 GB, free: 3.973 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003729/0.5187, allocations: 1.715 MB / 0.7677 GB, free: 2.254 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.005753/0.5244, allocations: 2.209 MB / 0.7699 GB, free: 36 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5249, allocations: 288.8 kB / 0.7701 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5249, allocations: 0 / 0.7701 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.5251, allocations: 165.5 kB / 0.7703 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.5256, allocations: 96.22 kB / 0.7704 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.5268, allocations: 0.5548 MB / 0.7709 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.5268, allocations: 106.7 kB / 0.771 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000385/0.5272, allocations: 396.7 kB / 0.7714 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5273, allocations: 52.41 kB / 0.7715 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of SimCode: time 1.954e-06/0.5273, allocations: 0 / 0.7715 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of Templates: time 0.06362/0.591, allocations: 61.69 MB / 0.8317 GB, free: 0.7031 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.532283829990774]