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.0009709/0.0009747, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009921/0.0009922, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001917/0.001917, allocations: 287.8 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 95.83 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1329, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3814/0.5142, allocations: 133.7 MB / 0.8102 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006242/0.5205, allocations: 7.97 MB / 0.818 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.5206, allocations: 0 / 0.818 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.5207, allocations: 22.98 kB / 0.818 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.5208, allocations: 26.81 kB / 0.8181 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.5237, allocations: 1.289 MB / 0.8193 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.5238, allocations: 77.53 kB / 0.8194 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.5238, allocations: 6.062 kB / 0.8194 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.781e-05/0.5239, allocations: 40.62 kB / 0.8194 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.524, allocations: 34.83 kB / 0.8195 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.524, allocations: 2.875 kB / 0.8195 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003801/0.5278, allocations: 2.649 MB / 0.8221 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.5278, allocations: 14.89 kB / 0.8221 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.5279, allocations: 36.52 kB / 0.8221 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5294, allocations: 1.38 MB / 0.8235 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5294, allocations: 0 / 0.8235 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5295, allocations: 0 / 0.8235 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5295, allocations: 0 / 0.8235 GB, free: 1.074 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.0008481/0.5303, allocations: 0.4887 MB / 0.8239 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5304, allocations: 10.38 kB / 0.824 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.5304, allocations: 39.72 kB / 0.824 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.5307, allocations: 28.84 kB / 0.824 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.5308, allocations: 170.6 kB / 0.8242 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.5309, allocations: 36.22 kB / 0.8242 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5309, allocations: 11.72 kB / 0.8242 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.5312, allocations: 117.7 kB / 0.8243 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.5313, allocations: 0 / 0.8243 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5313, allocations: 5.156 kB / 0.8243 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5313, allocations: 1.406 kB / 0.8243 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.5316, allocations: 113 kB / 0.8245 GB, free: 16.35 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.0003991/0.532, allocations: 388.8 kB / 0.8248 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.5322, allocations: 127.8 kB / 0.8249 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.5323, allocations: 54.2 kB / 0.825 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009543/0.5418, allocations: 4.205 MB / 0.8291 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5418, allocations: 31.81 kB / 0.8291 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.5418, allocations: 0 / 0.8291 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0004173/0.5423, allocations: 170.6 kB / 0.8293 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.5423, allocations: 61.14 kB / 0.8294 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/0.5424, allocations: 94.73 kB / 0.8294 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5424, allocations: 29.02 kB / 0.8295 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.5424, allocations: 85.98 kB / 0.8296 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.5425, allocations: 45.88 kB / 0.8296 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.5425, allocations: 31.27 kB / 0.8296 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.5426, allocations: 323.9 kB / 0.8299 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.5427, allocations: 19.69 kB / 0.83 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.5427, allocations: 24.77 kB / 0.83 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.464e-05/0.5428, allocations: 78.12 kB / 0.8301 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5428, allocations: 0 / 0.8301 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001552/0.543, allocations: 106.5 kB / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.543, allocations: 5.625 kB / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.543, allocations: 0 / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.543, allocations: 1.438 kB / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5431, allocations: 25.45 kB / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5431, allocations: 2.25 kB / 0.8302 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.5432, allocations: 10.12 kB / 0.8302 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.5432, allocations: 6.219 kB / 0.8302 GB, free: 13.08 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.017e-05/0.5433, allocations: 125.8 kB / 0.8303 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.5433, allocations: 7.406 kB / 0.8303 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.5437, allocations: 369.7 kB / 0.8307 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5437, allocations: 5.844 kB / 0.8307 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5437, allocations: 1.156 kB / 0.8307 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5437, allocations: 7.938 kB / 0.8307 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.544, allocations: 285 kB / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.544, allocations: 0 / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.5441, allocations: 28.48 kB / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.5441, allocations: 1.062 kB / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5441, allocations: 1.188 kB / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5441, allocations: 1.188 kB / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5441, allocations: 0 / 0.831 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.5444, allocations: 333 kB / 0.8313 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.5445, allocations: 110.5 kB / 0.8314 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.5445, allocations: 1.469 kB / 0.8314 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5447, allocations: 7.406 kB / 0.8314 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.5447, allocations: 9.688 kB / 0.8314 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.5447, allocations: 15.27 kB / 0.8315 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.5447, allocations: 79.09 kB / 0.8315 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5447, allocations: 0 / 0.8315 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008534/0.5456, allocations: 305.6 kB / 0.8318 GB, free: 12.2 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.001529/0.5471, allocations: 1.161 MB / 0.833 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.5474, allocations: 136.6 kB / 0.8331 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5474, allocations: 1.203 kB / 0.8331 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.5475, allocations: 111.2 kB / 0.8332 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5478, allocations: 21.67 kB / 0.8332 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.5486, allocations: 492.9 kB / 0.8337 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.5488, allocations: 0.7251 MB / 0.8344 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.019e-05/0.5489, allocations: 22.64 kB / 0.8344 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.5489, allocations: 42.94 kB / 0.8345 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.5489, allocations: 5.125 kB / 0.8345 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.309/3.858, allocations: 11.54 MB / 0.8457 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/3.858, allocations: 211.4 kB / 0.8459 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/5.811, allocations: 1.969 kB / 0.8459 GB, free: 4.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)