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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8864/0.8864, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 188.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 119.5 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002309/0.002309, allocations: 285.3 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 79.88 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3844, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1581/0.5425, allocations: 133.5 MB / 0.8983 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3956/0.9382, allocations: 8.485 MB / 0.9066 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.9383, allocations: 0.6562 kB / 0.9066 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.9385, allocations: 20.22 kB / 0.9066 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.9386, allocations: 24.77 kB / 0.9066 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.9424, allocations: 1.157 MB / 0.9078 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.9426, allocations: 73.39 kB / 0.9078 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.9426, allocations: 7.844 kB / 0.9078 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.9428, allocations: 47 kB / 0.9079 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.9429, allocations: 30.14 kB / 0.9079 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.9429, allocations: 6.156 kB / 0.9079 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.9484, allocations: 2.654 MB / 0.9105 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.9485, allocations: 15.97 kB / 0.9105 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.9486, allocations: 31.3 kB / 0.9105 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.951, allocations: 1.384 MB / 0.9119 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.951, allocations: 0 / 0.9119 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.073e-06/0.951, allocations: 1.281 kB / 0.9119 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.951, allocations: 0 / 0.9119 GB, free: 1.602 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001019/0.952, allocations: 497 kB / 0.9124 GB, free: 17.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9521, allocations: 10.03 kB / 0.9124 GB, free: 17.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.9524, allocations: 24.05 kB / 0.9124 GB, free: 17.19 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.9526, allocations: 172.1 kB / 0.9126 GB, free: 16.99 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.9527, allocations: 36.69 kB / 0.9126 GB, free: 16.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.9527, allocations: 8.375 kB / 0.9126 GB, free: 16.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.953, allocations: 125 kB / 0.9127 GB, free: 16.92 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9531, allocations: 0.75 kB / 0.9127 GB, free: 16.92 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.9531, allocations: 0 / 0.9127 GB, free: 16.92 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.9531, allocations: 2.312 kB / 0.9127 GB, free: 16.92 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.9534, allocations: 117.8 kB / 0.9128 GB, free: 16.92 MB / 0.573 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.0005236/0.9539, allocations: 382 kB / 0.9132 GB, free: 16.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.9542, allocations: 128.8 kB / 0.9133 GB, free: 16.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.9543, allocations: 52.52 kB / 0.9134 GB, free: 16.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.9664, allocations: 4.204 MB / 0.9175 GB, free: 14.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.9665, allocations: 38.22 kB / 0.9175 GB, free: 14.69 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.9665, allocations: 0 / 0.9175 GB, free: 14.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0005411/0.9671, allocations: 167.8 kB / 0.9177 GB, free: 14.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.9671, allocations: 52.61 kB / 0.9177 GB, free: 14.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.9672, allocations: 101.6 kB / 0.9178 GB, free: 14.49 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.9672, allocations: 28.14 kB / 0.9179 GB, free: 14.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.9673, allocations: 83.52 kB / 0.9179 GB, free: 14.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.9673, allocations: 51.86 kB / 0.918 GB, free: 14.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.9674, allocations: 24.61 kB / 0.918 GB, free: 14.33 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9675, allocations: 326 kB / 0.9183 GB, free: 14.01 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.9675, allocations: 22.98 kB / 0.9183 GB, free: 14.01 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.9676, allocations: 29.02 kB / 0.9184 GB, free: 14.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.9677, allocations: 73.88 kB / 0.9184 GB, free: 14 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9677, allocations: 0 / 0.9184 GB, free: 14 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001596/0.9679, allocations: 108 kB / 0.9185 GB, free: 13.96 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9679, allocations: 5.094 kB / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9679, allocations: 7.188 kB / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9679, allocations: 0 / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.968, allocations: 21.34 kB / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.9681, allocations: 2.25 kB / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.9681, allocations: 0 / 0.9186 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9681, allocations: 10.08 kB / 0.9186 GB, free: 13.96 MB / 0.573 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 9.031e-05/0.9682, allocations: 120.9 kB / 0.9187 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.9683, allocations: 7.75 kB / 0.9187 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.9687, allocations: 367.8 kB / 0.9191 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.9687, allocations: 11.66 kB / 0.9191 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9687, allocations: 0 / 0.9191 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9688, allocations: 1.219 kB / 0.9191 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.969, allocations: 287.3 kB / 0.9193 GB, free: 13.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.969, allocations: 4 kB / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.9691, allocations: 25.05 kB / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.9691, allocations: 3.281 kB / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.9691, allocations: 3.047 kB / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9691, allocations: 3.344 kB / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9692, allocations: 0 / 0.9194 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.9698, allocations: 0.9738 MB / 0.9203 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.9699, allocations: 103.3 kB / 0.9204 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.9699, allocations: 6.469 kB / 0.9204 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.97, allocations: 10 kB / 0.9205 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.97, allocations: 8.047 kB / 0.9205 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.9701, allocations: 8.688 kB / 0.9205 GB, free: 12.72 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.9701, allocations: 78.88 kB / 0.9205 GB, free: 12.65 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9701, allocations: 0 / 0.9205 GB, free: 12.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001476/0.9716, allocations: 313.7 kB / 0.9208 GB, free: 12.62 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: 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.001391/0.973, allocations: 402 kB / 0.9212 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.9733, allocations: 124.3 kB / 0.9213 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9733, allocations: 0 / 0.9213 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.9734, allocations: 114.2 kB / 0.9215 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.9737, allocations: 18.02 kB / 0.9215 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.9744, allocations: 0.5899 MB / 0.922 GB, free: 12.13 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9747, allocations: 0.7282 MB / 0.9228 GB, free: 11.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.9748, allocations: 31.02 kB / 0.9228 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.9748, allocations: 18.66 kB / 0.9228 GB, free: 11.41 MB / 0.573 GB Notification: Performance of SimCode: time 2.11e-07/0.9748, allocations: 3.938 kB / 0.9228 GB, free: 11.41 MB / 0.573 GB Notification: Performance of Templates: time 0.01599/0.9908, allocations: 9.794 MB / 0.9324 GB, free: 10.86 MB / 0.573 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)