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.001396/0.001397, allocations: 110.6 kB / 16.41 MB, free: 6.441 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.001269/0.001269, allocations: 189.5 kB / 17.34 MB, free: 5.711 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 / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 286.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8935/0.8935, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 111.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4133, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1298/0.5432, allocations: 135.4 MB / 0.8993 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.5434, allocations: 47.86 kB / 0.8993 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.5434, allocations: 4 kB / 0.8993 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 9.784e-05/0.5435, allocations: 3.938 kB / 0.8993 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.5436, allocations: 11.91 kB / 0.8993 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.5444, allocations: 247 kB / 0.8996 GB, free: 11.67 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.5444, allocations: 31.84 kB / 0.8996 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.5445, allocations: 4 kB / 0.8996 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.5445, allocations: 19.81 kB / 0.8996 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.5446, allocations: 7.984 kB / 0.8996 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5446, allocations: 4 kB / 0.8996 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.545, allocations: 247.4 kB / 0.8999 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.5451, allocations: 11.97 kB / 0.8999 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.5451, allocations: 7.938 kB / 0.8999 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.5454, allocations: 191.4 kB / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5454, allocations: 0 / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5455, allocations: 3.938 kB / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5455, allocations: 0 / 0.9001 GB, free: 11.16 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.000363/0.5458, allocations: 354 kB / 0.9004 GB, free: 10.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.5459, allocations: 12.03 kB / 0.9004 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.5459, allocations: 12.84 kB / 0.9004 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.546, allocations: 164.4 kB / 0.9006 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.5461, allocations: 30.27 kB / 0.9006 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.5461, allocations: 3.938 kB / 0.9006 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.5462, allocations: 41.67 kB / 0.9007 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5462, allocations: 0 / 0.9007 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5462, allocations: 0 / 0.9007 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5463, allocations: 4 kB / 0.9007 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.5463, allocations: 19.92 kB / 0.9007 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.547, allocations: 0.595 MB / 0.9013 GB, free: 9.719 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.547, allocations: 22.58 kB / 0.9013 GB, free: 9.688 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.547, allocations: 4.859 kB / 0.9013 GB, free: 9.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.5472, allocations: 336.5 kB / 0.9016 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.5473, allocations: 34.56 kB / 0.9017 GB, free: 9.234 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/0.5473, allocations: 0 / 0.9017 GB, free: 9.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.5474, allocations: 37.62 kB / 0.9017 GB, free: 9.191 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5474, allocations: 55.41 kB / 0.9018 GB, free: 9.125 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.5475, allocations: 101.8 kB / 0.9018 GB, free: 9.016 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5475, allocations: 25.7 kB / 0.9019 GB, free: 8.984 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.5476, allocations: 95.97 kB / 0.902 GB, free: 8.887 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.5476, allocations: 7.906 kB / 0.902 GB, free: 8.879 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.5476, allocations: 17.84 kB / 0.902 GB, free: 8.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.5477, allocations: 322.7 kB / 0.9023 GB, free: 8.531 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.5477, allocations: 7.984 kB / 0.9023 GB, free: 8.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.5478, allocations: 9.719 kB / 0.9023 GB, free: 8.508 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.5478, allocations: 25.66 kB / 0.9023 GB, free: 8.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5478, allocations: 0 / 0.9023 GB, free: 8.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.977e-05/0.5479, allocations: 53.62 kB / 0.9024 GB, free: 8.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5479, allocations: 8 kB / 0.9024 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.5479, allocations: 0 / 0.9024 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5479, allocations: 0 / 0.9024 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.548, allocations: 4 kB / 0.9024 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.548, allocations: 7.984 kB / 0.9024 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.548, allocations: 0 / 0.9024 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.548, allocations: 3.938 kB / 0.9024 GB, free: 8.395 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.785e-05/0.5481, allocations: 113.9 kB / 0.9025 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5481, allocations: 0 / 0.9025 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-05/0.5482, allocations: 128.8 kB / 0.9026 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.403e-05/0.5483, allocations: 176.3 kB / 0.9028 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.108e-05/0.5483, allocations: 176.3 kB / 0.903 GB, free: 7.777 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.685e-05/0.5484, allocations: 184.2 kB / 0.9032 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.5486, allocations: 409.2 kB / 0.9035 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.426e-05/0.5486, allocations: 108.9 kB / 0.9036 GB, free: 7.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.5487, allocations: 105 kB / 0.9037 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.395e-05/0.5487, allocations: 180.2 kB / 0.9039 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.5488, allocations: 184.2 kB / 0.9041 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.855e-05/0.5489, allocations: 188.3 kB / 0.9043 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.585e-05/0.5489, allocations: 180.2 kB / 0.9044 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.549, allocations: 307.9 kB / 0.9047 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.5491, allocations: 182.1 kB / 0.9049 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.5492, allocations: 184.3 kB / 0.9051 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5493, allocations: 112.9 kB / 0.9052 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.5494, allocations: 180.5 kB / 0.9054 GB, free: 5.148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5494, allocations: 104.9 kB / 0.9055 GB, free: 5.039 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.5495, allocations: 87.22 kB / 0.9056 GB, free: 4.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.5495, allocations: 0 / 0.9056 GB, free: 4.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002886/0.5497, allocations: 59.92 kB / 0.9056 GB, free: 4.895 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.0002811/0.55, allocations: 262.3 kB / 0.9059 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 5.877e-05/0.5501, allocations: 8 kB / 0.9059 GB, free: 4.617 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5501, allocations: 4.062 kB / 0.9059 GB, free: 4.613 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5501, allocations: 4 kB / 0.9059 GB, free: 4.609 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5505, allocations: 467.6 kB / 0.9063 GB, free: 4.148 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.5507, allocations: 209.7 kB / 0.9065 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.551, allocations: 0.6768 MB / 0.9072 GB, free: 3.207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.551, allocations: 11.44 kB / 0.9072 GB, free: 3.195 MB / 0.67 GB Notification: Performance of SimCode: time 2.21e-07/0.551, allocations: 0 / 0.9072 GB, free: 3.195 MB / 0.67 GB Notification: Performance of Templates: time 0.002391/0.5534, allocations: 1.228 MB / 0.9084 GB, free: 1.969 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)