Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 95.8 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 170.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 9.094 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 77.15 MB / 0.5568 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3701/0.5303, allocations: 114.4 MB / 0.6686 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.5376, allocations: 6.908 MB / 0.6753 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.5377, allocations: 3.938 kB / 0.6753 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.5379, allocations: 23.89 kB / 0.6753 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.538, allocations: 27.94 kB / 0.6754 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.5407, allocations: 1.113 MB / 0.6764 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.5408, allocations: 47.91 kB / 0.6765 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.5409, allocations: 7.984 kB / 0.6765 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.541, allocations: 51.81 kB / 0.6765 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.5411, allocations: 27.92 kB / 0.6766 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5411, allocations: 4 kB / 0.6766 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.5449, allocations: 2.548 MB / 0.6791 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.5449, allocations: 15.97 kB / 0.6791 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.545, allocations: 41.64 kB / 0.6791 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.5461, allocations: 0.9106 MB / 0.68 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.5461, allocations: 0 / 0.68 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5461, allocations: 0 / 0.68 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.5461, allocations: 0 / 0.68 GB, free: 11.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007935/0.5469, allocations: 479.6 kB / 0.6805 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.547, allocations: 20 kB / 0.6805 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.5473, allocations: 19.89 kB / 0.6805 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5474, allocations: 178.9 kB / 0.6807 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.5475, allocations: 33.7 kB / 0.6807 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5475, allocations: 11.98 kB / 0.6807 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.5479, allocations: 109.6 kB / 0.6808 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5479, allocations: 0 / 0.6808 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5479, allocations: 4 kB / 0.6808 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5479, allocations: 0 / 0.6808 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.5482, allocations: 115.9 kB / 0.6809 GB, free: 10.4 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.5486, allocations: 392 kB / 0.6813 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.5489, allocations: 118.6 kB / 0.6814 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.5601, allocations: 4.254 MB / 0.6856 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5601, allocations: 34.5 kB / 0.6856 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5601, allocations: 0 / 0.6856 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005031/0.5607, allocations: 169.5 kB / 0.6858 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.5607, allocations: 55.41 kB / 0.6858 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.5608, allocations: 97.84 kB / 0.6859 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5608, allocations: 33.7 kB / 0.686 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.5608, allocations: 80.14 kB / 0.686 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5609, allocations: 47.44 kB / 0.6861 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.5609, allocations: 0 / 0.6861 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.561, allocations: 326.8 kB / 0.6864 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.561, allocations: 23.98 kB / 0.6864 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.5611, allocations: 19.98 kB / 0.6864 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.5611, allocations: 35.94 kB / 0.6865 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5611, allocations: 0 / 0.6865 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001679/0.5613, allocations: 113 kB / 0.6866 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5613, allocations: 4 kB / 0.6866 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5614, allocations: 4 kB / 0.6866 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5614, allocations: 0 / 0.6866 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5615, allocations: 19.98 kB / 0.6866 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5615, allocations: 0 / 0.6866 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.5616, allocations: 11.91 kB / 0.6866 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.5616, allocations: 0 / 0.6866 GB, free: 4.148 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.5617, allocations: 125.8 kB / 0.6867 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.5617, allocations: 4.188 kB / 0.6867 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.5622, allocations: 372.1 kB / 0.6871 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5622, allocations: 8 kB / 0.6871 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5622, allocations: 7.688 kB / 0.6871 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5622, allocations: 3.984 kB / 0.6871 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.5625, allocations: 281.3 kB / 0.6874 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5625, allocations: 0 / 0.6874 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.5626, allocations: 23.98 kB / 0.6874 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5626, allocations: 0 / 0.6874 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5626, allocations: 4 kB / 0.6874 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5626, allocations: 0 / 0.6874 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5626, allocations: 3.938 kB / 0.6874 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5629, allocations: 339.9 kB / 0.6877 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.563, allocations: 108.8 kB / 0.6878 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5631, allocations: 0 / 0.6878 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.5632, allocations: 11.98 kB / 0.6878 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.5632, allocations: 7.984 kB / 0.6879 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5632, allocations: 7.938 kB / 0.6879 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.5633, allocations: 87.27 kB / 0.6879 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5633, allocations: 0 / 0.6879 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008336/0.5641, allocations: 295.9 kB / 0.6882 GB, free: 2.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.5652, allocations: 403.5 kB / 0.6886 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.5654, allocations: 120 kB / 0.6887 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5654, allocations: 0 / 0.6887 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5656, allocations: 108.9 kB / 0.6888 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.5658, allocations: 20.64 kB / 0.6888 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.5663, allocations: 386.3 kB / 0.6892 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.5666, allocations: 0.7285 MB / 0.6899 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.85e-05/0.5667, allocations: 28.39 kB / 0.69 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.5667, allocations: 19.44 kB / 0.69 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5667, allocations: 0 / 0.69 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of Templates: time 0.01422/0.5809, allocations: 9.97 MB / 0.6997 GB, free: 6.594 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)