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.001449/0.001449, allocations: 109.2 kB / 15.99 MB, free: 6.367 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.001449/0.001449, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 290.5 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.131/1.131, allocations: 178.6 MB / 0.5076 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 99.84 kB / 0.6066 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1736, allocations: 89.13 MB / 0.6936 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3743/0.5479, allocations: 133.5 MB / 0.8239 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.5481, allocations: 47.44 kB / 0.824 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.5481, allocations: 0 / 0.824 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.076e-05/0.5482, allocations: 6.016 kB / 0.824 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.5483, allocations: 16.64 kB / 0.824 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.549, allocations: 219.6 kB / 0.8242 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.5491, allocations: 29.62 kB / 0.8242 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.626e-05/0.5491, allocations: 5.469 kB / 0.8243 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.5492, allocations: 19.91 kB / 0.8243 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.5492, allocations: 13.7 kB / 0.8243 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.5492, allocations: 1.406 kB / 0.8243 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.5497, allocations: 245.3 kB / 0.8245 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.5497, allocations: 12.84 kB / 0.8245 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.5497, allocations: 11.08 kB / 0.8245 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.55, allocations: 131.6 kB / 0.8247 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.55, allocations: 0 / 0.8247 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.55, allocations: 1.094 kB / 0.8247 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.55, allocations: 4 kB / 0.8247 GB, free: 8.199 MB / 0.5919 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.0003664/0.5504, allocations: 357.3 kB / 0.825 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.5504, allocations: 10.52 kB / 0.825 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.5504, allocations: 2.438 kB / 0.825 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5505, allocations: 164.5 kB / 0.8252 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.5506, allocations: 28.44 kB / 0.8252 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5506, allocations: 9.406 kB / 0.8252 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.5507, allocations: 46.88 kB / 0.8253 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.5507, allocations: 0.75 kB / 0.8253 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.5507, allocations: 0 / 0.8253 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5508, allocations: 1.719 kB / 0.8253 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.5508, allocations: 14.14 kB / 0.8253 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.5515, allocations: 0.5976 MB / 0.8259 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.198e-05/0.5516, allocations: 24.39 kB / 0.8259 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.5516, allocations: 7.328 kB / 0.8259 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.5518, allocations: 333.2 kB / 0.8262 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.5518, allocations: 32.17 kB / 0.8262 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5518, allocations: 0 / 0.8262 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.552, allocations: 38.12 kB / 0.8263 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.552, allocations: 51.41 kB / 0.8263 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.5521, allocations: 109.6 kB / 0.8264 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5521, allocations: 30.77 kB / 0.8265 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.5522, allocations: 86.45 kB / 0.8265 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.5522, allocations: 8.5 kB / 0.8266 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.5522, allocations: 15.67 kB / 0.8266 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5523, allocations: 320.7 kB / 0.8269 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.5524, allocations: 3.188 kB / 0.8269 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.5524, allocations: 18.36 kB / 0.8269 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.5524, allocations: 25.86 kB / 0.8269 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5524, allocations: 0 / 0.8269 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.534e-05/0.5525, allocations: 50.08 kB / 0.827 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5525, allocations: 6.219 kB / 0.827 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.5525, allocations: 0 / 0.827 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.5525, allocations: 1.156 kB / 0.827 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.5526, allocations: 7.266 kB / 0.827 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.5526, allocations: 4.812 kB / 0.827 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.5526, allocations: 1.375 kB / 0.827 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.5526, allocations: 2.438 kB / 0.827 GB, free: 5.688 MB / 0.5919 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 7.539e-05/0.5527, allocations: 112.6 kB / 0.8271 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.5527, allocations: 5.594 kB / 0.8271 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.5528, allocations: 126.5 kB / 0.8272 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-05/0.5529, allocations: 182.5 kB / 0.8274 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-05/0.553, allocations: 181.9 kB / 0.8276 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-05/0.5531, allocations: 180.9 kB / 0.8277 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.5533, allocations: 412.6 kB / 0.8281 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/0.5534, allocations: 102.9 kB / 0.8282 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.5534, allocations: 101.5 kB / 0.8283 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.415e-05/0.5535, allocations: 191 kB / 0.8285 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.5536, allocations: 177.5 kB / 0.8287 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.5536, allocations: 182.2 kB / 0.8289 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/0.5537, allocations: 179 kB / 0.829 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.5539, allocations: 317.2 kB / 0.8293 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.554, allocations: 180.9 kB / 0.8295 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.554, allocations: 183.4 kB / 0.8297 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.5542, allocations: 105.2 kB / 0.8298 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.5543, allocations: 187 kB / 0.83 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.5543, allocations: 102.7 kB / 0.8301 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.5544, allocations: 90.61 kB / 0.8301 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5544, allocations: 0 / 0.8301 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002884/0.5547, allocations: 59.19 kB / 0.8302 GB, free: 2.285 MB / 0.5919 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.0002994/0.555, allocations: 266 kB / 0.8304 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.5551, allocations: 15.47 kB / 0.8305 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5551, allocations: 1.156 kB / 0.8305 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5551, allocations: 0 / 0.8305 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.5555, allocations: 456.8 kB / 0.8309 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.5557, allocations: 204.2 kB / 0.8311 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.556, allocations: 0.6744 MB / 0.8318 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.556, allocations: 8.719 kB / 0.8318 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.556, allocations: 1.5 kB / 0.8318 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of Templates: time 0.002778/0.5588, allocations: 1.235 MB / 0.833 GB, free: 0.5938 MB / 0.5919 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)