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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005716/0.005716, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001236/0.001236, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 288 kB / 290.8 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.9485/0.9485, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 96.19 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3727, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1517/0.5244, allocations: 135.6 MB / 0.8983 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009156/0.5336, allocations: 7.931 MB / 0.906 GB, free: 3.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.5337, allocations: 0 / 0.906 GB, free: 3.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.5339, allocations: 31.83 kB / 0.9061 GB, free: 3.777 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.5339, allocations: 15.86 kB / 0.9061 GB, free: 3.762 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.5371, allocations: 1.465 MB / 0.9075 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.5372, allocations: 71.7 kB / 0.9076 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.5373, allocations: 7.922 kB / 0.9076 GB, free: 2.223 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.5374, allocations: 47.78 kB / 0.9076 GB, free: 2.176 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.5375, allocations: 31.91 kB / 0.9077 GB, free: 2.145 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.5375, allocations: 4 kB / 0.9077 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004369/0.5419, allocations: 2.708 MB / 0.9103 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.542, allocations: 19.91 kB / 0.9103 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.542, allocations: 27.86 kB / 0.9103 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.5438, allocations: 1.381 MB / 0.9117 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5438, allocations: 3.938 kB / 0.9117 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5438, allocations: 0 / 0.9117 GB, free: 14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.5438, allocations: 0 / 0.9117 GB, free: 14 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.0009341/0.5448, allocations: 0.4944 MB / 0.9122 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5448, allocations: 12.03 kB / 0.9122 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.5449, allocations: 42.73 kB / 0.9122 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.5452, allocations: 28.88 kB / 0.9123 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5453, allocations: 164.3 kB / 0.9124 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.5454, allocations: 38 kB / 0.9125 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.5454, allocations: 8 kB / 0.9125 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.5458, allocations: 117.5 kB / 0.9126 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5458, allocations: 0 / 0.9126 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5458, allocations: 4 kB / 0.9126 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5459, allocations: 7.938 kB / 0.9126 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.5462, allocations: 115.9 kB / 0.9127 GB, free: 12.87 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.000507/0.5467, allocations: 376.1 kB / 0.9131 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.547, allocations: 136 kB / 0.9132 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.547, allocations: 52.84 kB / 0.9132 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.5584, allocations: 4.226 MB / 0.9174 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.5585, allocations: 34.55 kB / 0.9174 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.624e-06/0.5585, allocations: 4 kB / 0.9174 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005647/0.5591, allocations: 165.6 kB / 0.9176 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5591, allocations: 55.34 kB / 0.9176 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.5592, allocations: 105.8 kB / 0.9177 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5592, allocations: 25.7 kB / 0.9177 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.5593, allocations: 88.06 kB / 0.9178 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5594, allocations: 51.56 kB / 0.9179 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.5594, allocations: 29.72 kB / 0.9179 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5596, allocations: 318.8 kB / 0.9182 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.5596, allocations: 23.98 kB / 0.9182 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.5597, allocations: 30.48 kB / 0.9183 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.5598, allocations: 60.86 kB / 0.9183 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5598, allocations: 0 / 0.9183 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001903/0.56, allocations: 113.6 kB / 0.9184 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.56, allocations: 8 kB / 0.9184 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.56, allocations: 3.984 kB / 0.9184 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.56, allocations: 0 / 0.9184 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5602, allocations: 23.94 kB / 0.9185 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5602, allocations: 11.98 kB / 0.9185 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.5602, allocations: 7.891 kB / 0.9185 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5603, allocations: 11.92 kB / 0.9185 GB, free: 6.484 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 8.252e-05/0.5603, allocations: 112.2 kB / 0.9186 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.5604, allocations: 4 kB / 0.9186 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.5609, allocations: 372.2 kB / 0.919 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5609, allocations: 7.984 kB / 0.919 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5609, allocations: 0 / 0.919 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5609, allocations: 7.938 kB / 0.919 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5612, allocations: 285.2 kB / 0.9192 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5612, allocations: 0 / 0.9192 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.5613, allocations: 19.98 kB / 0.9193 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5613, allocations: 4 kB / 0.9193 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.5614, allocations: 0 / 0.9193 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5614, allocations: 0 / 0.9193 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5614, allocations: 0 / 0.9193 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.5617, allocations: 340.5 kB / 0.9196 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.5618, allocations: 104.9 kB / 0.9197 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.5618, allocations: 0 / 0.9197 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.562, allocations: 11.98 kB / 0.9197 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.562, allocations: 11.92 kB / 0.9197 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.562, allocations: 4 kB / 0.9197 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.5621, allocations: 83.22 kB / 0.9198 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5621, allocations: 0 / 0.9198 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007939/0.5629, allocations: 303.7 kB / 0.9201 GB, free: 4.754 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.001765/0.5646, allocations: 1.167 MB / 0.9212 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.5649, allocations: 120 kB / 0.9213 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5649, allocations: 3.938 kB / 0.9213 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.565, allocations: 115.3 kB / 0.9215 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.5653, allocations: 18.67 kB / 0.9215 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.5662, allocations: 433.5 kB / 0.9219 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.5665, allocations: 0.7127 MB / 0.9226 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.5666, allocations: 32.34 kB / 0.9226 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.5667, allocations: 35.42 kB / 0.9226 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.5667, allocations: 0 / 0.9226 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.6006, allocations: 11.63 MB / 0.934 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.366, allocations: 6.688 kB / 0.934 GB, free: 6.527 MB / 0.7012 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)