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.005254/0.005254, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001255/0.001255, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.002179, allocations: 282.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.00202, allocations: 104.7 kB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1604, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.453/0.6134, allocations: 135.6 MB / 0.8983 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008512/0.6219, allocations: 7.924 MB / 0.906 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.622, allocations: 0 / 0.906 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.6222, allocations: 23.83 kB / 0.906 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.6223, allocations: 19.84 kB / 0.9061 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.6257, allocations: 1.468 MB / 0.9075 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.6258, allocations: 76.34 kB / 0.9076 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.6259, allocations: 7.984 kB / 0.9076 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.626, allocations: 51.77 kB / 0.9076 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.6261, allocations: 35.86 kB / 0.9077 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6261, allocations: 0 / 0.9077 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.6304, allocations: 2.704 MB / 0.9103 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.6304, allocations: 19.91 kB / 0.9103 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.6305, allocations: 35.8 kB / 0.9104 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.6324, allocations: 1.377 MB / 0.9117 GB, free: 13.87 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6324, allocations: 3.938 kB / 0.9117 GB, free: 13.87 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6324, allocations: 0 / 0.9117 GB, free: 13.87 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.6324, allocations: 0 / 0.9117 GB, free: 13.87 MB / 0.67 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.00104/0.6335, allocations: 0.51 MB / 0.9122 GB, free: 13.31 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6335, allocations: 12.03 kB / 0.9122 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.6336, allocations: 35.81 kB / 0.9122 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.634, allocations: 28.86 kB / 0.9123 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6341, allocations: 164.3 kB / 0.9124 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.6341, allocations: 34.27 kB / 0.9125 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.6342, allocations: 7.938 kB / 0.9125 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.6345, allocations: 121.5 kB / 0.9126 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6346, allocations: 4 kB / 0.9126 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.6346, allocations: 4 kB / 0.9126 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6346, allocations: 0 / 0.9126 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.6349, allocations: 115.9 kB / 0.9127 GB, free: 12.73 MB / 0.67 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.0004437/0.6353, allocations: 380.1 kB / 0.9131 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.6356, allocations: 128.4 kB / 0.9132 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.6357, allocations: 56.83 kB / 0.9132 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.6475, allocations: 4.238 MB / 0.9174 GB, free: 7.555 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.6476, allocations: 30.56 kB / 0.9174 GB, free: 7.516 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.6476, allocations: 0 / 0.9174 GB, free: 7.516 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0004769/0.6481, allocations: 161.6 kB / 0.9176 GB, free: 7.352 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6481, allocations: 51.41 kB / 0.9176 GB, free: 7.289 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.6482, allocations: 101.8 kB / 0.9177 GB, free: 7.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6482, allocations: 25.7 kB / 0.9177 GB, free: 7.148 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.6483, allocations: 92.08 kB / 0.9178 GB, free: 7.055 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.6483, allocations: 47.58 kB / 0.9179 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.6484, allocations: 29.7 kB / 0.9179 GB, free: 6.973 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6485, allocations: 322.8 kB / 0.9182 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.6485, allocations: 23.98 kB / 0.9182 GB, free: 6.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.6486, allocations: 27.98 kB / 0.9183 GB, free: 6.598 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.6487, allocations: 71.22 kB / 0.9183 GB, free: 6.527 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6487, allocations: 0 / 0.9183 GB, free: 6.527 MB / 0.67 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001806/0.6489, allocations: 105.6 kB / 0.9184 GB, free: 6.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6489, allocations: 4 kB / 0.9184 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6489, allocations: 4 kB / 0.9184 GB, free: 6.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6489, allocations: 4 kB / 0.9184 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.6491, allocations: 23.92 kB / 0.9185 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6491, allocations: 0 / 0.9185 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.6491, allocations: 11.89 kB / 0.9185 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6492, allocations: 8.75 kB / 0.9185 GB, free: 6.363 MB / 0.67 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.946e-05/0.6492, allocations: 118.5 kB / 0.9186 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.6493, allocations: 4 kB / 0.9186 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.6497, allocations: 372.8 kB / 0.919 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.6498, allocations: 7.984 kB / 0.919 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6498, allocations: 4 kB / 0.919 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.6498, allocations: 3.938 kB / 0.919 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.65, allocations: 285.1 kB / 0.9192 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6501, allocations: 5.297 kB / 0.9192 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.6502, allocations: 16 kB / 0.9193 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6502, allocations: 0 / 0.9193 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.6502, allocations: 11.98 kB / 0.9193 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6502, allocations: 0 / 0.9193 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6502, allocations: 0 / 0.9193 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.6506, allocations: 331.2 kB / 0.9196 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.6507, allocations: 108.9 kB / 0.9197 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.6507, allocations: 0 / 0.9197 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.6508, allocations: 8.688 kB / 0.9197 GB, free: 5.023 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.6509, allocations: 7.984 kB / 0.9197 GB, free: 5.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6509, allocations: 11.92 kB / 0.9197 GB, free: 5.004 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.6509, allocations: 83.28 kB / 0.9198 GB, free: 4.922 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6509, allocations: 4 kB / 0.9198 GB, free: 4.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009106/0.6519, allocations: 295.7 kB / 0.9201 GB, free: 4.629 MB / 0.67 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.001958/0.6538, allocations: 1.158 MB / 0.9212 GB, free: 3.441 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.6541, allocations: 128 kB / 0.9213 GB, free: 3.316 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6541, allocations: 3.938 kB / 0.9213 GB, free: 3.312 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6542, allocations: 112 kB / 0.9214 GB, free: 3.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.6545, allocations: 24.02 kB / 0.9215 GB, free: 3.184 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.6555, allocations: 442.6 kB / 0.9219 GB, free: 2.715 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.6557, allocations: 0.7166 MB / 0.9226 GB, free: 1.969 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.6558, allocations: 32.28 kB / 0.9226 GB, free: 1.938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.6559, allocations: 39.42 kB / 0.9227 GB, free: 1.898 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.6559, allocations: 0 / 0.9227 GB, free: 1.898 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.6857, allocations: 11.63 MB / 0.934 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/8.309, allocations: 13.62 kB / 0.934 GB, free: 6.387 MB / 0.6856 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)