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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001051/0.001051, allocations: 103 kB / 16.27 MB, free: 5.961 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.001069/0.001069, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7203/0.7203, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 77.94 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1346/0.4499, allocations: 135.5 MB / 0.6996 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008725/0.4586, allocations: 7.917 MB / 0.7074 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.4587, allocations: 0 / 0.7074 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.4589, allocations: 23.83 kB / 0.7074 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.459, allocations: 19.84 kB / 0.7074 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.4623, allocations: 1.473 MB / 0.7088 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4624, allocations: 75.7 kB / 0.7089 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.4625, allocations: 7.984 kB / 0.7089 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.4626, allocations: 39.84 kB / 0.709 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.4627, allocations: 35.84 kB / 0.709 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4627, allocations: 4 kB / 0.709 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.4668, allocations: 2.641 MB / 0.7116 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.4668, allocations: 15.92 kB / 0.7116 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.4669, allocations: 27.86 kB / 0.7116 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.4688, allocations: 1.376 MB / 0.713 GB, free: 5.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4688, allocations: 4 kB / 0.713 GB, free: 5.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4688, allocations: 0 / 0.713 GB, free: 5.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4689, allocations: 4 kB / 0.713 GB, free: 5.152 MB / 0.545 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.001038/0.4699, allocations: 0.4951 MB / 0.7134 GB, free: 4.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4699, allocations: 12.62 kB / 0.7135 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.47, allocations: 34.75 kB / 0.7135 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.4704, allocations: 28.84 kB / 0.7135 GB, free: 4.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4705, allocations: 172.2 kB / 0.7137 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.4706, allocations: 38.02 kB / 0.7137 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4706, allocations: 8 kB / 0.7137 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.4709, allocations: 117.6 kB / 0.7138 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.471, allocations: 0 / 0.7138 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.471, allocations: 4 kB / 0.7138 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.471, allocations: 4 kB / 0.7139 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.4713, allocations: 111.9 kB / 0.714 GB, free: 4.031 MB / 0.545 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.0004625/0.4717, allocations: 388 kB / 0.7143 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.472, allocations: 122.6 kB / 0.7144 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.4721, allocations: 52.84 kB / 0.7145 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.4832, allocations: 4.21 MB / 0.7186 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4832, allocations: 34.56 kB / 0.7186 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.4833, allocations: 0 / 0.7186 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004976/0.4838, allocations: 161.6 kB / 0.7188 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4838, allocations: 51.41 kB / 0.7188 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.4839, allocations: 105.8 kB / 0.7189 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4839, allocations: 25.7 kB / 0.719 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.4839, allocations: 88.05 kB / 0.7191 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.484, allocations: 47.53 kB / 0.7191 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.484, allocations: 25.72 kB / 0.7191 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.4841, allocations: 318.8 kB / 0.7194 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.4842, allocations: 27.98 kB / 0.7195 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.4843, allocations: 23.98 kB / 0.7195 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.4844, allocations: 74.97 kB / 0.7195 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4844, allocations: 3.938 kB / 0.7195 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001784/0.4846, allocations: 105.6 kB / 0.7197 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4846, allocations: 8 kB / 0.7197 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4846, allocations: 4 kB / 0.7197 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4846, allocations: 4.188 kB / 0.7197 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4847, allocations: 23.98 kB / 0.7197 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4847, allocations: 0 / 0.7197 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.4848, allocations: 11.84 kB / 0.7197 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4848, allocations: 3.984 kB / 0.7197 GB, free: 13.68 MB / 0.5606 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.711e-05/0.4849, allocations: 117.8 kB / 0.7198 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.485, allocations: 8 kB / 0.7198 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.4854, allocations: 371.7 kB / 0.7202 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4854, allocations: 3.984 kB / 0.7202 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4854, allocations: 0 / 0.7202 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4854, allocations: 7.938 kB / 0.7202 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.4857, allocations: 285.3 kB / 0.7205 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4857, allocations: 4 kB / 0.7205 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.4858, allocations: 27.86 kB / 0.7205 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4858, allocations: 0 / 0.7205 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4858, allocations: 4 kB / 0.7205 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4859, allocations: 0 / 0.7205 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4859, allocations: 0 / 0.7205 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4862, allocations: 334.9 kB / 0.7208 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.4863, allocations: 100.9 kB / 0.7209 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4863, allocations: 0 / 0.7209 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4864, allocations: 15.98 kB / 0.7209 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.4865, allocations: 11.92 kB / 0.7209 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4865, allocations: 4 kB / 0.7209 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.4865, allocations: 87.2 kB / 0.721 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4865, allocations: 4 kB / 0.721 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007873/0.4873, allocations: 295.8 kB / 0.7213 GB, free: 11.93 MB / 0.5606 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.001729/0.4891, allocations: 1.147 MB / 0.7224 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4893, allocations: 123.9 kB / 0.7225 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4893, allocations: 4 kB / 0.7226 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4894, allocations: 111.9 kB / 0.7227 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4897, allocations: 19.94 kB / 0.7227 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.4906, allocations: 445.7 kB / 0.7231 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4909, allocations: 0.7205 MB / 0.7238 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.491, allocations: 30.28 kB / 0.7238 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.4911, allocations: 39.42 kB / 0.7239 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.4911, allocations: 0 / 0.7239 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.5219, allocations: 11.61 MB / 0.7352 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.902, allocations: 7.359 kB / 0.7352 GB, free: 13.71 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)