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.00127/0.00127, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001255/0.001255, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 282.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 103.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4084, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1306/0.539, allocations: 135.6 MB / 0.8994 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008676/0.5478, allocations: 7.923 MB / 0.9072 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.5478, allocations: 4 kB / 0.9072 GB, free: 3.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.548, allocations: 23.89 kB / 0.9072 GB, free: 3.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.5481, allocations: 19.78 kB / 0.9072 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.5516, allocations: 1.467 MB / 0.9086 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.5518, allocations: 67.72 kB / 0.9087 GB, free: 2.293 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5518, allocations: 11.92 kB / 0.9087 GB, free: 2.281 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.552, allocations: 43.84 kB / 0.9088 GB, free: 2.238 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.5521, allocations: 39.89 kB / 0.9088 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.5521, allocations: 0 / 0.9088 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.5565, allocations: 2.708 MB / 0.9114 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.5565, allocations: 11.94 kB / 0.9114 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.5566, allocations: 31.84 kB / 0.9115 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.5589, allocations: 1.379 MB / 0.9128 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.5589, allocations: 0 / 0.9128 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5589, allocations: 0 / 0.9128 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5589, allocations: 0 / 0.9128 GB, free: 14.07 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.001056/0.56, allocations: 0.4953 MB / 0.9133 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.56, allocations: 8.031 kB / 0.9133 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.5604, allocations: 24.83 kB / 0.9133 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5606, allocations: 180.2 kB / 0.9135 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.5606, allocations: 30.27 kB / 0.9135 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5607, allocations: 11.94 kB / 0.9136 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.561, allocations: 121.6 kB / 0.9137 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.561, allocations: 0 / 0.9137 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.5611, allocations: 4 kB / 0.9137 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5611, allocations: 4 kB / 0.9137 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.5614, allocations: 119.8 kB / 0.9138 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.0004523/0.5618, allocations: 384 kB / 0.9142 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.5621, allocations: 122.6 kB / 0.9143 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.5622, allocations: 60.83 kB / 0.9143 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.5732, allocations: 4.23 MB / 0.9185 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.5733, allocations: 34.5 kB / 0.9185 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.195e-06/0.5733, allocations: 0 / 0.9185 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005134/0.5738, allocations: 161.6 kB / 0.9186 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5739, allocations: 51.41 kB / 0.9187 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.574, allocations: 105.8 kB / 0.9188 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.574, allocations: 25.7 kB / 0.9188 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.574, allocations: 80.14 kB / 0.9189 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.5741, allocations: 51.44 kB / 0.9189 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.5741, allocations: 33.7 kB / 0.919 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.5742, allocations: 314.8 kB / 0.9193 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.5743, allocations: 23.98 kB / 0.9193 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.5743, allocations: 27.98 kB / 0.9193 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5744, allocations: 70.91 kB / 0.9194 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5744, allocations: 0 / 0.9194 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001762/0.5746, allocations: 109.6 kB / 0.9195 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5747, allocations: 12 kB / 0.9195 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5747, allocations: 0 / 0.9195 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5747, allocations: 0 / 0.9195 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5748, allocations: 27.92 kB / 0.9195 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5748, allocations: 4 kB / 0.9195 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.5749, allocations: 3.938 kB / 0.9195 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5749, allocations: 4 kB / 0.9196 GB, free: 6.617 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.67e-05/0.575, allocations: 116.2 kB / 0.9197 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.575, allocations: 7.906 kB / 0.9197 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.5754, allocations: 379.2 kB / 0.92 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5755, allocations: 11.92 kB / 0.92 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5755, allocations: 0 / 0.92 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5755, allocations: 3.938 kB / 0.92 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.5757, allocations: 289 kB / 0.9203 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5758, allocations: 0 / 0.9203 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.5759, allocations: 19.98 kB / 0.9203 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5759, allocations: 4 kB / 0.9203 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5759, allocations: 0 / 0.9203 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5759, allocations: 7.984 kB / 0.9204 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5759, allocations: 3.938 kB / 0.9204 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.5762, allocations: 336.4 kB / 0.9207 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.5763, allocations: 100.9 kB / 0.9208 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5763, allocations: 3.984 kB / 0.9208 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5764, allocations: 8 kB / 0.9208 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.5765, allocations: 7.984 kB / 0.9208 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5765, allocations: 7.938 kB / 0.9208 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4e-05/0.5765, allocations: 91.27 kB / 0.9209 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5765, allocations: 0 / 0.9209 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008501/0.5774, allocations: 299.9 kB / 0.9212 GB, free: 4.863 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.001275/0.5787, allocations: 399.1 kB / 0.9216 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5789, allocations: 135.8 kB / 0.9217 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5789, allocations: 0 / 0.9217 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.579, allocations: 107.9 kB / 0.9218 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.0002954/0.5793, allocations: 18.22 kB / 0.9218 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.5798, allocations: 342.2 kB / 0.9221 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.58, allocations: 0.7166 MB / 0.9228 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.5801, allocations: 15.44 kB / 0.9228 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of SimCode: time 2.81e-07/0.5801, allocations: 0 / 0.9228 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of Templates: time 0.009615/0.5897, allocations: 6.753 MB / 0.9294 GB, free: 12.33 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)