Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.008267/0.008267, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001858/0.001858, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.371/1.371, 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/IDEAS 3.0.0-master/package.mo): time 0.7691/0.7691, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.55 kB / 0.5851 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1414, allocations: 80.92 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4852/0.6266, allocations: 135.6 MB / 0.7965 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007586/0.6343, allocations: 7.921 MB / 0.8043 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.6344, allocations: 5.438 kB / 0.8043 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.6346, allocations: 34.95 kB / 0.8043 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.6347, allocations: 21.62 kB / 0.8043 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.6387, allocations: 1.461 MB / 0.8058 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.6389, allocations: 83.14 kB / 0.8058 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.6389, allocations: 2.25 kB / 0.8058 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.639, allocations: 45.11 kB / 0.8059 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.6391, allocations: 30.17 kB / 0.8059 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6391, allocations: 7.219 kB / 0.8059 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.643, allocations: 2.705 MB / 0.8086 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.6431, allocations: 17.72 kB / 0.8086 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.6431, allocations: 38.47 kB / 0.8086 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.645, allocations: 1.378 MB / 0.81 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.645, allocations: 3.938 kB / 0.81 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.645, allocations: 0 / 0.81 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.645, allocations: 0 / 0.81 GB, free: 10.46 MB / 0.5919 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.0009926/0.646, allocations: 0.5004 MB / 0.8104 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.646, allocations: 10.86 kB / 0.8105 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.6461, allocations: 35.47 kB / 0.8105 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.6465, allocations: 26.75 kB / 0.8105 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.6466, allocations: 175.1 kB / 0.8107 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/0.6467, allocations: 33.33 kB / 0.8107 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.6467, allocations: 10.5 kB / 0.8107 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.6471, allocations: 119.5 kB / 0.8108 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.6471, allocations: 0 / 0.8108 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.6471, allocations: 11.25 kB / 0.8109 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6472, allocations: 2.844 kB / 0.8109 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.6475, allocations: 120.9 kB / 0.811 GB, free: 9.625 MB / 0.5919 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.0005051/0.648, allocations: 379.7 kB / 0.8113 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.6482, allocations: 121.9 kB / 0.8114 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.6483, allocations: 55.17 kB / 0.8115 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.6598, allocations: 4.228 MB / 0.8156 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6599, allocations: 38.5 kB / 0.8157 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.6599, allocations: 0 / 0.8157 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005895/0.6605, allocations: 163.6 kB / 0.8158 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.6606, allocations: 58.16 kB / 0.8159 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.6607, allocations: 102.8 kB / 0.816 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.6607, allocations: 25.7 kB / 0.816 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.6608, allocations: 84.14 kB / 0.8161 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.6608, allocations: 43.23 kB / 0.8161 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.6609, allocations: 33.05 kB / 0.8162 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.661, allocations: 321.5 kB / 0.8165 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.6611, allocations: 24.61 kB / 0.8165 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.6611, allocations: 24.55 kB / 0.8165 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.6612, allocations: 74.78 kB / 0.8166 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6612, allocations: 0 / 0.8166 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.6614, allocations: 114.9 kB / 0.8167 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6615, allocations: 4.719 kB / 0.8167 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6615, allocations: 3.938 kB / 0.8167 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6615, allocations: 4 kB / 0.8167 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.6616, allocations: 25.48 kB / 0.8167 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6616, allocations: 0 / 0.8167 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.6617, allocations: 10.44 kB / 0.8167 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6617, allocations: 6.469 kB / 0.8167 GB, free: 5.523 MB / 0.5919 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 0.0001041/0.6618, allocations: 115 kB / 0.8168 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.6619, allocations: 10.69 kB / 0.8169 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.6623, allocations: 352.9 kB / 0.8172 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6624, allocations: 13.89 kB / 0.8172 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6624, allocations: 4 kB / 0.8172 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6624, allocations: 3.938 kB / 0.8172 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.6627, allocations: 287.5 kB / 0.8175 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6627, allocations: 0 / 0.8175 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.6628, allocations: 21.08 kB / 0.8175 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6628, allocations: 2.906 kB / 0.8175 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6628, allocations: 7.984 kB / 0.8175 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6628, allocations: 3.75 kB / 0.8175 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6628, allocations: 2.781 kB / 0.8175 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.6632, allocations: 334.1 kB / 0.8178 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.6632, allocations: 107.8 kB / 0.8179 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.6633, allocations: 0 / 0.8179 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.6634, allocations: 7.219 kB / 0.818 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.6634, allocations: 8.859 kB / 0.818 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.6635, allocations: 14.55 kB / 0.818 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.6635, allocations: 79.94 kB / 0.8181 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6635, allocations: 3.938 kB / 0.8181 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001043/0.6646, allocations: 301.9 kB / 0.8183 GB, free: 4.395 MB / 0.5919 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.001877/0.6664, allocations: 1.158 MB / 0.8195 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.6667, allocations: 122.5 kB / 0.8196 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6667, allocations: 0 / 0.8196 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6669, allocations: 111.6 kB / 0.8197 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.6672, allocations: 25.48 kB / 0.8197 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.6682, allocations: 428.4 kB / 0.8201 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6686, allocations: 0.7166 MB / 0.8208 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.6687, allocations: 36.09 kB / 0.8209 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.6688, allocations: 38.86 kB / 0.8209 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6688, allocations: 0 / 0.8209 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.6994, allocations: 11.6 MB / 0.8322 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.3, allocations: 14.66 kB / 0.8323 GB, free: 12.3 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)