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: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004805/0.004805, allocations: 102 kB / 15.73 MB, free: 6.043 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.001141/0.001141, allocations: 195 kB / 16.67 MB, free: 5.965 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 278.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 95.84 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4088, allocations: 86.99 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1377/0.5466, allocations: 135.4 MB / 0.8986 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.5468, allocations: 55.86 kB / 0.8987 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.5469, allocations: 0 / 0.8987 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 9.36e-05/0.547, allocations: 4 kB / 0.8987 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.5471, allocations: 15.91 kB / 0.8987 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.5479, allocations: 242.9 kB / 0.8989 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.548, allocations: 31.92 kB / 0.8989 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.548, allocations: 3.984 kB / 0.8989 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.5481, allocations: 27.8 kB / 0.899 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.5482, allocations: 8 kB / 0.899 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5482, allocations: 0 / 0.899 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.5487, allocations: 247.4 kB / 0.8992 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.5487, allocations: 11.97 kB / 0.8992 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.5488, allocations: 11.94 kB / 0.8992 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.5493, allocations: 183.4 kB / 0.8994 GB, free: 11.11 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5493, allocations: 4 kB / 0.8994 GB, free: 11.11 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5493, allocations: 3.938 kB / 0.8994 GB, free: 11.1 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5494, allocations: 0 / 0.8994 GB, free: 11.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005814/0.5499, allocations: 358 kB / 0.8998 GB, free: 10.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.55, allocations: 8.031 kB / 0.8998 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.5501, allocations: 8.844 kB / 0.8998 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5502, allocations: 168.3 kB / 0.8999 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.5503, allocations: 26.27 kB / 0.9 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.5503, allocations: 11.94 kB / 0.9 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.5505, allocations: 41.69 kB / 0.9 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5505, allocations: 4 kB / 0.9 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.5506, allocations: 0 / 0.9 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.5506, allocations: 0 / 0.9 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.5507, allocations: 15.98 kB / 0.9 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.5516, allocations: 0.595 MB / 0.9006 GB, free: 9.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.5517, allocations: 22.52 kB / 0.9006 GB, free: 9.629 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.5517, allocations: 8.922 kB / 0.9006 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.5519, allocations: 332.4 kB / 0.901 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5519, allocations: 34.56 kB / 0.901 GB, free: 9.176 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.552, allocations: 4 kB / 0.901 GB, free: 9.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001638/0.5521, allocations: 37.62 kB / 0.901 GB, free: 9.129 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.5522, allocations: 55.53 kB / 0.9011 GB, free: 9.062 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.5523, allocations: 105.8 kB / 0.9012 GB, free: 8.949 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5523, allocations: 25.7 kB / 0.9012 GB, free: 8.918 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.5523, allocations: 91.97 kB / 0.9013 GB, free: 8.824 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.5524, allocations: 3.906 kB / 0.9013 GB, free: 8.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.5524, allocations: 17.72 kB / 0.9013 GB, free: 8.797 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5525, allocations: 322.7 kB / 0.9016 GB, free: 8.473 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.5525, allocations: 3.984 kB / 0.9016 GB, free: 8.469 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.5526, allocations: 21.72 kB / 0.9017 GB, free: 8.441 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.5526, allocations: 21.66 kB / 0.9017 GB, free: 8.414 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5526, allocations: 0 / 0.9017 GB, free: 8.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.845e-05/0.5527, allocations: 45.69 kB / 0.9017 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5527, allocations: 4 kB / 0.9017 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5527, allocations: 7.938 kB / 0.9017 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5528, allocations: 4.062 kB / 0.9017 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.5528, allocations: 4 kB / 0.9017 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.5528, allocations: 7.922 kB / 0.9017 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.5529, allocations: 4 kB / 0.9017 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.5529, allocations: 3.938 kB / 0.9018 GB, free: 8.328 MB / 0.67 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.967e-05/0.5529, allocations: 112.2 kB / 0.9019 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.553, allocations: 4 kB / 0.9019 GB, free: 8.207 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5531, allocations: 124.9 kB / 0.902 GB, free: 8.074 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-05/0.5532, allocations: 180.2 kB / 0.9022 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.303e-05/0.5532, allocations: 180.3 kB / 0.9023 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.543e-05/0.5533, allocations: 176.3 kB / 0.9025 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5535, allocations: 409.1 kB / 0.9029 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/0.5536, allocations: 101 kB / 0.903 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.5536, allocations: 116.9 kB / 0.9031 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.5537, allocations: 180.2 kB / 0.9033 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.5538, allocations: 180.3 kB / 0.9034 GB, free: 6.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.833e-05/0.5538, allocations: 180.2 kB / 0.9036 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.375e-05/0.5539, allocations: 180.3 kB / 0.9038 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.554, allocations: 315.9 kB / 0.9041 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.5541, allocations: 182 kB / 0.9043 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.5542, allocations: 180.3 kB / 0.9044 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5543, allocations: 113 kB / 0.9045 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.5544, allocations: 188.2 kB / 0.9047 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.5544, allocations: 105 kB / 0.9048 GB, free: 4.973 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.5545, allocations: 83.22 kB / 0.9049 GB, free: 4.891 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5545, allocations: 0 / 0.9049 GB, free: 4.891 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003459/0.5549, allocations: 55.92 kB / 0.9049 GB, free: 4.836 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: 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.0003812/0.5553, allocations: 262.3 kB / 0.9052 GB, free: 4.566 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.5553, allocations: 11.94 kB / 0.9052 GB, free: 4.555 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5554, allocations: 4 kB / 0.9052 GB, free: 4.551 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.5554, allocations: 0 / 0.9052 GB, free: 4.551 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5558, allocations: 466.1 kB / 0.9057 GB, free: 4.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.556, allocations: 177.9 kB / 0.9058 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5563, allocations: 0.6806 MB / 0.9065 GB, free: 3.184 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.5563, allocations: 4 kB / 0.9065 GB, free: 3.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.5564, allocations: 11.44 kB / 0.9065 GB, free: 3.168 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.5564, allocations: 0 / 0.9065 GB, free: 3.168 MB / 0.67 GB Notification: Performance of Templates: time 0.003668/0.56, allocations: 1.298 MB / 0.9078 GB, free: 1.875 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)