Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006703/0.006703, allocations: 100.2 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 193 kB / 16.67 MB, free: 5.93 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 291.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 96.08 kB / 0.6814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4121, allocations: 86.98 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1369/0.549, allocations: 135.6 MB / 0.8988 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.5572, allocations: 7.923 MB / 0.9065 GB, free: 3.855 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.5573, allocations: 0 / 0.9065 GB, free: 3.855 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.5576, allocations: 27.83 kB / 0.9065 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.5577, allocations: 19.86 kB / 0.9066 GB, free: 3.809 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.5611, allocations: 1.456 MB / 0.908 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.5612, allocations: 75.64 kB / 0.908 GB, free: 2.281 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.5613, allocations: 7.938 kB / 0.9081 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.5614, allocations: 43.84 kB / 0.9081 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.5615, allocations: 35.89 kB / 0.9081 GB, free: 2.195 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.5615, allocations: 4 kB / 0.9081 GB, free: 2.191 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.5655, allocations: 2.708 MB / 0.9108 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.5656, allocations: 11.92 kB / 0.9108 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.5656, allocations: 35.84 kB / 0.9108 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5673, allocations: 1.379 MB / 0.9122 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5673, allocations: 0 / 0.9122 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5673, allocations: 0 / 0.9122 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5673, allocations: 0 / 0.9122 GB, free: 14.05 MB / 0.6856 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.0008689/0.5682, allocations: 499.2 kB / 0.9126 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5682, allocations: 12.03 kB / 0.9127 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.5686, allocations: 24.81 kB / 0.9127 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.5687, allocations: 176.2 kB / 0.9129 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.5688, allocations: 38.2 kB / 0.9129 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.5688, allocations: 7.938 kB / 0.9129 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.5692, allocations: 121 kB / 0.913 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5692, allocations: 4 kB / 0.913 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5692, allocations: 4 kB / 0.913 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5692, allocations: 0 / 0.913 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.5695, allocations: 119.8 kB / 0.9131 GB, free: 12.98 MB / 0.6856 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.0004386/0.5699, allocations: 380 kB / 0.9135 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.5702, allocations: 130.5 kB / 0.9136 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.5703, allocations: 48.84 kB / 0.9137 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.5815, allocations: 4.226 MB / 0.9178 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.5816, allocations: 42.56 kB / 0.9178 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.5816, allocations: 0 / 0.9178 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0004948/0.5821, allocations: 164.2 kB / 0.918 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5821, allocations: 63.34 kB / 0.9181 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.5822, allocations: 93.86 kB / 0.9181 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5822, allocations: 29.7 kB / 0.9182 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.5823, allocations: 80.14 kB / 0.9182 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.5823, allocations: 47.44 kB / 0.9183 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.5824, allocations: 33.7 kB / 0.9183 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.5825, allocations: 322.8 kB / 0.9186 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.5825, allocations: 24 kB / 0.9187 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.5826, allocations: 23.98 kB / 0.9187 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.5827, allocations: 66.22 kB / 0.9187 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5827, allocations: 0 / 0.9187 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/0.5829, allocations: 117.5 kB / 0.9189 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5829, allocations: 4 kB / 0.9189 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5829, allocations: 0 / 0.9189 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5829, allocations: 4 kB / 0.9189 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5831, allocations: 23.98 kB / 0.9189 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5831, allocations: 0 / 0.9189 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.5831, allocations: 11.94 kB / 0.9189 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5832, allocations: 7.984 kB / 0.9189 GB, free: 6.609 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.5832, allocations: 124.1 kB / 0.919 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.5833, allocations: 7.906 kB / 0.919 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.5837, allocations: 364.2 kB / 0.9194 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5837, allocations: 12 kB / 0.9194 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5837, allocations: 0 / 0.9194 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5838, allocations: 7.922 kB / 0.9194 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.584, allocations: 285 kB / 0.9197 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.584, allocations: 0 / 0.9197 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5841, allocations: 23.98 kB / 0.9197 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5841, allocations: 4.125 kB / 0.9197 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5842, allocations: 4 kB / 0.9197 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5842, allocations: 4 kB / 0.9197 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5842, allocations: 0 / 0.9197 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.5845, allocations: 336.5 kB / 0.92 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.5846, allocations: 96.92 kB / 0.9201 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.5846, allocations: 8 kB / 0.9201 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5847, allocations: 0 / 0.9201 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.5847, allocations: 7.984 kB / 0.9201 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.5848, allocations: 15.92 kB / 0.9201 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.5848, allocations: 83.22 kB / 0.9202 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5848, allocations: 0 / 0.9202 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007893/0.5856, allocations: 307.9 kB / 0.9205 GB, free: 4.859 MB / 0.6856 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 (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.001158/0.5868, allocations: 394.9 kB / 0.9209 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.587, allocations: 131 kB / 0.921 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.587, allocations: 0 / 0.921 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5871, allocations: 111.9 kB / 0.9211 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.5874, allocations: 19.98 kB / 0.9211 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.5879, allocations: 316.5 kB / 0.9214 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.5881, allocations: 0.7166 MB / 0.9221 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.8e-05/0.5882, allocations: 28.34 kB / 0.9222 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.5883, allocations: 15.44 kB / 0.9222 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of SimCode: time 3.41e-07/0.5883, allocations: 0 / 0.9222 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of Templates: time 0.01261/0.6009, allocations: 9.795 MB / 0.9318 GB, free: 9.289 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)