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.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 290.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9724/0.9724, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 99.11 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1368, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3947/0.5316, allocations: 135.6 MB / 0.8127 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006802/0.5385, allocations: 7.924 MB / 0.8204 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.5385, allocations: 0 / 0.8204 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.5387, allocations: 18.34 kB / 0.8204 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.5387, allocations: 23.72 kB / 0.8204 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.542, allocations: 1.471 MB / 0.8219 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.5421, allocations: 81.44 kB / 0.822 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.5421, allocations: 3.844 kB / 0.822 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.5422, allocations: 46.03 kB / 0.822 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.5423, allocations: 30.61 kB / 0.822 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.5423, allocations: 3.344 kB / 0.822 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.5463, allocations: 2.648 MB / 0.8246 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.5463, allocations: 16.7 kB / 0.8246 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.5464, allocations: 35.12 kB / 0.8247 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.5479, allocations: 1.372 MB / 0.826 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5479, allocations: 1.062 kB / 0.826 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5479, allocations: 2.578 kB / 0.826 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5479, allocations: 0 / 0.826 GB, free: 1.645 MB / 0.5606 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.0009483/0.5489, allocations: 0.4925 MB / 0.8265 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5489, allocations: 9 kB / 0.8265 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.549, allocations: 41.75 kB / 0.8266 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.5493, allocations: 27.72 kB / 0.8266 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5494, allocations: 173.8 kB / 0.8267 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.5495, allocations: 31.73 kB / 0.8268 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.5495, allocations: 12.12 kB / 0.8268 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5499, allocations: 116.9 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5499, allocations: 0 / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5499, allocations: 4.375 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5499, allocations: 5.062 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.5502, allocations: 119.8 kB / 0.827 GB, free: 16.9 MB / 0.5762 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.0005058/0.5507, allocations: 381.9 kB / 0.8274 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.551, allocations: 124.3 kB / 0.8275 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.5511, allocations: 53.7 kB / 0.8276 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.5626, allocations: 4.204 MB / 0.8317 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.5626, allocations: 36.88 kB / 0.8317 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.5627, allocations: 0 / 0.8317 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0004993/0.5632, allocations: 169.2 kB / 0.8319 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5632, allocations: 53.59 kB / 0.8319 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.5633, allocations: 98.23 kB / 0.832 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5633, allocations: 30.98 kB / 0.832 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.5634, allocations: 81.64 kB / 0.8321 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.5634, allocations: 48.34 kB / 0.8322 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.5635, allocations: 30.11 kB / 0.8322 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5636, allocations: 323.5 kB / 0.8325 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.5636, allocations: 20.38 kB / 0.8325 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.5637, allocations: 32.52 kB / 0.8325 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.5638, allocations: 70.03 kB / 0.8326 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5638, allocations: 4.812 kB / 0.8326 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001685/0.564, allocations: 105.4 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.564, allocations: 5.344 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.564, allocations: 1.312 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.564, allocations: 0 / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5641, allocations: 24.95 kB / 0.8327 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5642, allocations: 2.656 kB / 0.8327 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.5642, allocations: 13.34 kB / 0.8328 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5642, allocations: 11.64 kB / 0.8328 GB, free: 13.17 MB / 0.5762 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.702e-05/0.5643, allocations: 116.8 kB / 0.8329 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.5644, allocations: 8.219 kB / 0.8329 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.5648, allocations: 373.9 kB / 0.8332 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5648, allocations: 2.75 kB / 0.8332 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5648, allocations: 7.938 kB / 0.8333 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5648, allocations: 9.297 kB / 0.8333 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.565, allocations: 276.8 kB / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5651, allocations: 0 / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.5652, allocations: 25.42 kB / 0.8336 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5652, allocations: 0 / 0.8336 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5652, allocations: 1.375 kB / 0.8336 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5652, allocations: 1.375 kB / 0.8336 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5652, allocations: 0 / 0.8336 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5655, allocations: 339 kB / 0.8339 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.5656, allocations: 107.4 kB / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5656, allocations: 0 / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5658, allocations: 9.312 kB / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.5658, allocations: 8.109 kB / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5658, allocations: 15.67 kB / 0.834 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.5659, allocations: 78.03 kB / 0.8341 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5659, allocations: 0 / 0.8341 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00117/0.567, allocations: 305.3 kB / 0.8344 GB, free: 12.3 MB / 0.5762 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.001789/0.5688, allocations: 1.158 MB / 0.8355 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5691, allocations: 131.2 kB / 0.8356 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5691, allocations: 0 / 0.8356 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5692, allocations: 109.8 kB / 0.8357 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.5695, allocations: 28.61 kB / 0.8358 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.5704, allocations: 438.5 kB / 0.8362 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5707, allocations: 0.7152 MB / 0.8369 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.826e-05/0.5708, allocations: 26.91 kB / 0.8369 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.5709, allocations: 38.86 kB / 0.8369 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5709, allocations: 5.469 kB / 0.837 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.6056, allocations: 11.62 MB / 0.8483 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.314, allocations: 5.812 kB / 0.8483 GB, free: 4.469 MB / 0.5762 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)