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.0007866/0.0007867, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004705/0.004705, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 258.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8916/0.8916, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 20.03 kB / 0.5988 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4027/0.5434, allocations: 131.7 MB / 0.8139 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007253/0.5507, allocations: 8.396 MB / 0.8221 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.5508, allocations: 0 / 0.8221 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.5509, allocations: 19.48 kB / 0.8221 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.551, allocations: 25.08 kB / 0.8221 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.5536, allocations: 1.151 MB / 0.8232 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.5537, allocations: 70.16 kB / 0.8233 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.5538, allocations: 6.141 kB / 0.8233 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5539, allocations: 42.94 kB / 0.8234 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.554, allocations: 36.81 kB / 0.8234 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.554, allocations: 4.312 kB / 0.8234 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.5579, allocations: 2.657 MB / 0.826 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.5579, allocations: 15.92 kB / 0.826 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.558, allocations: 56.83 kB / 0.8261 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.5595, allocations: 1.374 MB / 0.8274 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5596, allocations: 0 / 0.8274 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5596, allocations: 0 / 0.8274 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5596, allocations: 1.375 kB / 0.8274 GB, free: 13.84 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.0007904/0.5604, allocations: 489.2 kB / 0.8279 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5604, allocations: 9.625 kB / 0.8279 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.5604, allocations: 37.5 kB / 0.8279 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.5608, allocations: 26.56 kB / 0.8279 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.5609, allocations: 179 kB / 0.8281 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.5609, allocations: 29.02 kB / 0.8281 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.561, allocations: 12.06 kB / 0.8281 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.5613, allocations: 117.6 kB / 0.8283 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.5613, allocations: 0 / 0.8283 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5613, allocations: 4.656 kB / 0.8283 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5613, allocations: 1.625 kB / 0.8283 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.5616, allocations: 114 kB / 0.8284 GB, free: 12.96 MB / 0.5606 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.0004148/0.562, allocations: 387.5 kB / 0.8287 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5623, allocations: 123.1 kB / 0.8289 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.593e-05/0.5623, allocations: 50.47 kB / 0.8289 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.5728, allocations: 4.258 MB / 0.8331 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.5729, allocations: 33.38 kB / 0.8331 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.5729, allocations: 4 kB / 0.8331 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004118/0.5733, allocations: 170.6 kB / 0.8333 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.5733, allocations: 57.62 kB / 0.8333 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.5734, allocations: 103.6 kB / 0.8334 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5734, allocations: 25.7 kB / 0.8334 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.5735, allocations: 84.64 kB / 0.8335 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5735, allocations: 48.72 kB / 0.8336 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.5735, allocations: 15.59 kB / 0.8336 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.5736, allocations: 321.8 kB / 0.8339 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.5737, allocations: 30.05 kB / 0.8339 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.5737, allocations: 21.81 kB / 0.8339 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.5738, allocations: 73.59 kB / 0.834 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5738, allocations: 0 / 0.834 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.574, allocations: 105.1 kB / 0.8341 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.574, allocations: 5.031 kB / 0.8341 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.574, allocations: 1.531 kB / 0.8341 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.574, allocations: 0 / 0.8341 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5742, allocations: 26.95 kB / 0.8341 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5742, allocations: 0 / 0.8341 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.5742, allocations: 14.44 kB / 0.8342 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5742, allocations: 6.078 kB / 0.8342 GB, free: 8.781 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 6.906e-05/0.5743, allocations: 121 kB / 0.8343 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.5744, allocations: 5.312 kB / 0.8343 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.5748, allocations: 377.2 kB / 0.8346 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5748, allocations: 2.156 kB / 0.8346 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5748, allocations: 0 / 0.8346 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5748, allocations: 10.89 kB / 0.8347 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.575, allocations: 281.6 kB / 0.8349 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.575, allocations: 3.938 kB / 0.8349 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.5751, allocations: 27.45 kB / 0.835 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5752, allocations: 0 / 0.835 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5752, allocations: 4 kB / 0.835 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5752, allocations: 4 kB / 0.835 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5752, allocations: 2.875 kB / 0.835 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.5755, allocations: 328.8 kB / 0.8353 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.5755, allocations: 112.8 kB / 0.8354 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5755, allocations: 0 / 0.8354 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5757, allocations: 10.69 kB / 0.8354 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.5757, allocations: 11.14 kB / 0.8354 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5757, allocations: 15.36 kB / 0.8354 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.5758, allocations: 84.94 kB / 0.8355 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5758, allocations: 2.812 kB / 0.8355 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007826/0.5766, allocations: 296.9 kB / 0.8358 GB, free: 7.633 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.001482/0.5781, allocations: 1.149 MB / 0.8369 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.5782, allocations: 124.5 kB / 0.837 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5782, allocations: 6.938 kB / 0.837 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.5784, allocations: 109.2 kB / 0.8371 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.5786, allocations: 27.48 kB / 0.8372 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.5794, allocations: 499 kB / 0.8376 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.5796, allocations: 0.7156 MB / 0.8383 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.343e-05/0.5797, allocations: 29.16 kB / 0.8384 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.5798, allocations: 37.27 kB / 0.8384 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5798, allocations: 3.938 kB / 0.8384 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.6071, allocations: 11.38 MB / 0.8495 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.6072, allocations: 217.2 kB / 0.8497 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.452, allocations: 2.906 kB / 0.8497 GB, free: 15.49 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)