Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",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.001227/0.001227, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001383/0.001384, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 282.6 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8627/0.8627, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 100.2 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 86.97 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3838/0.518, allocations: 133.5 MB / 0.8101 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.5182, allocations: 59.56 kB / 0.8101 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.5182, allocations: 0 / 0.8101 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.5182, allocations: 1.969 kB / 0.8101 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.5183, allocations: 18.73 kB / 0.8101 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.5189, allocations: 236.9 kB / 0.8104 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.5189, allocations: 29.23 kB / 0.8104 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 1.717e-05/0.5189, allocations: 2.344 kB / 0.8104 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.519, allocations: 16.42 kB / 0.8104 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.519, allocations: 21.2 kB / 0.8104 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-06/0.519, allocations: 1.125 kB / 0.8104 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.5194, allocations: 246 kB / 0.8107 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.5194, allocations: 8.781 kB / 0.8107 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.5194, allocations: 7.688 kB / 0.8107 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.5197, allocations: 198.3 kB / 0.8109 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.5197, allocations: 2.844 kB / 0.8109 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5197, allocations: 0 / 0.8109 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.5197, allocations: 0 / 0.8109 GB, free: 1.793 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000324/0.52, allocations: 360.5 kB / 0.8112 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.181e-05/0.52, allocations: 10.62 kB / 0.8112 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.5201, allocations: 34.69 kB / 0.8113 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.5201, allocations: 2.562 kB / 0.8113 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.5202, allocations: 165.8 kB / 0.8114 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.5202, allocations: 33.14 kB / 0.8115 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-06/0.5202, allocations: 3.938 kB / 0.8115 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.029e-05/0.5203, allocations: 42.45 kB / 0.8115 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-06/0.5203, allocations: 0 / 0.8115 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.5203, allocations: 3.109 kB / 0.8115 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5203, allocations: 0 / 0.8115 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.5204, allocations: 15.09 kB / 0.8115 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.5209, allocations: 0.6021 MB / 0.8121 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.014e-05/0.521, allocations: 20.39 kB / 0.8121 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-06/0.521, allocations: 8.484 kB / 0.8121 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.5212, allocations: 335.6 kB / 0.8125 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5212, allocations: 35.7 kB / 0.8125 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5212, allocations: 0 / 0.8125 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.5213, allocations: 38.95 kB / 0.8125 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5213, allocations: 51.41 kB / 0.8126 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.5214, allocations: 105.9 kB / 0.8127 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.5214, allocations: 25.7 kB / 0.8127 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.5215, allocations: 93.3 kB / 0.8128 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-06/0.5215, allocations: 5.719 kB / 0.8128 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.5215, allocations: 15.97 kB / 0.8128 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.5216, allocations: 314.9 kB / 0.8131 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.5216, allocations: 11.41 kB / 0.8131 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.5216, allocations: 16.36 kB / 0.8131 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.5217, allocations: 25.98 kB / 0.8132 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5217, allocations: 2.062 kB / 0.8132 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.389e-05/0.5217, allocations: 47.53 kB / 0.8132 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.5218, allocations: 8.906 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5218, allocations: 3.938 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.5218, allocations: 288 / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.5218, allocations: 7.031 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.5218, allocations: 1.969 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.5218, allocations: 1.688 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5219, allocations: 6.188 kB / 0.8132 GB, free: 15.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.456e-05/0.5219, allocations: 115 kB / 0.8133 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5219, allocations: 3.984 kB / 0.8134 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.522, allocations: 119.1 kB / 0.8135 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/0.5221, allocations: 182.9 kB / 0.8136 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-05/0.5222, allocations: 183.1 kB / 0.8138 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-05/0.5222, allocations: 181 kB / 0.814 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.5224, allocations: 410 kB / 0.8144 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.5224, allocations: 105 kB / 0.8145 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.5225, allocations: 104.9 kB / 0.8146 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.355e-05/0.5225, allocations: 178.8 kB / 0.8147 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.5226, allocations: 185.2 kB / 0.8149 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.141e-05/0.5226, allocations: 179.2 kB / 0.8151 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-05/0.5227, allocations: 187.6 kB / 0.8153 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.5228, allocations: 306.4 kB / 0.8156 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.5229, allocations: 193.4 kB / 0.8158 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.5229, allocations: 181.7 kB / 0.8159 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5231, allocations: 105.8 kB / 0.816 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.5231, allocations: 185.5 kB / 0.8162 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.5232, allocations: 103.9 kB / 0.8163 GB, free: 12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.5232, allocations: 87.91 kB / 0.8164 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.82e-07/0.5232, allocations: 0 / 0.8164 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002601/0.5235, allocations: 64.42 kB / 0.8164 GB, free: 11.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004672/0.524, allocations: 0.8772 MB / 0.8173 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.711e-05/0.524, allocations: 13.56 kB / 0.8173 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.524, allocations: 1.203 kB / 0.8173 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.5241, allocations: 7.594 kB / 0.8173 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5244, allocations: 455.3 kB / 0.8178 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.5252, allocations: 1.344 MB / 0.8191 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.5255, allocations: 0.6751 MB / 0.8197 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.5255, allocations: 4.172 kB / 0.8197 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.5255, allocations: 12.69 kB / 0.8197 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.5255, allocations: 0 / 0.8197 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.947/2.473, allocations: 2.139 MB / 0.8218 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/2.473, allocations: 221.4 kB / 0.822 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/4.539, allocations: 2.656 kB / 0.822 GB, free: 8.016 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)