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.004502/0.004501, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001015/0.001015, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 285.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 99.86 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4052, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1377/0.543, allocations: 135.4 MB / 0.8986 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.5432, allocations: 47.88 kB / 0.8987 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.5432, allocations: 0 / 0.8987 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.5434, allocations: 3.938 kB / 0.8987 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.5435, allocations: 19.91 kB / 0.8987 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.5445, allocations: 239 kB / 0.8989 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.5446, allocations: 35.86 kB / 0.8989 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.5446, allocations: 0 / 0.8989 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.5447, allocations: 19.91 kB / 0.899 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.5448, allocations: 8 kB / 0.899 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5448, allocations: 0 / 0.899 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.5454, allocations: 255.4 kB / 0.8992 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.5454, allocations: 3.984 kB / 0.8992 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.5455, allocations: 15.92 kB / 0.8992 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.5459, allocations: 187.4 kB / 0.8994 GB, free: 11.12 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5459, allocations: 3.938 kB / 0.8994 GB, free: 11.12 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5459, allocations: 0 / 0.8994 GB, free: 11.12 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5459, allocations: 0 / 0.8994 GB, free: 11.12 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.000476/0.5464, allocations: 358 kB / 0.8998 GB, free: 10.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5464, allocations: 8.031 kB / 0.8998 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.5465, allocations: 8.828 kB / 0.8998 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.5467, allocations: 168.4 kB / 0.8999 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.5467, allocations: 26.27 kB / 0.9 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.5467, allocations: 7.922 kB / 0.9 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5469, allocations: 45.69 kB / 0.9 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5469, allocations: 0 / 0.9 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5469, allocations: 0 / 0.9 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.5469, allocations: 3.984 kB / 0.9 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.547, allocations: 15.92 kB / 0.9 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.5478, allocations: 0.6028 MB / 0.9006 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.5478, allocations: 14.58 kB / 0.9006 GB, free: 9.648 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.5478, allocations: 4.859 kB / 0.9006 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.548, allocations: 336.5 kB / 0.901 GB, free: 9.238 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5481, allocations: 34.5 kB / 0.901 GB, free: 9.195 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5481, allocations: 4 kB / 0.901 GB, free: 9.191 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001529/0.5482, allocations: 45.62 kB / 0.901 GB, free: 9.141 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5483, allocations: 51.41 kB / 0.9011 GB, free: 9.078 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.5484, allocations: 101.8 kB / 0.9012 GB, free: 8.969 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.5484, allocations: 29.7 kB / 0.9012 GB, free: 8.934 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.5484, allocations: 87.98 kB / 0.9013 GB, free: 8.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.5485, allocations: 3.906 kB / 0.9013 GB, free: 8.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.5485, allocations: 21.78 kB / 0.9013 GB, free: 8.812 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.5486, allocations: 322.8 kB / 0.9016 GB, free: 8.488 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.5486, allocations: 4 kB / 0.9016 GB, free: 8.484 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.5487, allocations: 13.72 kB / 0.9016 GB, free: 8.465 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.5487, allocations: 21.66 kB / 0.9017 GB, free: 8.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.5487, allocations: 4 kB / 0.9017 GB, free: 8.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.999e-05/0.5488, allocations: 53.62 kB / 0.9017 GB, free: 8.375 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5488, allocations: 4 kB / 0.9017 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5488, allocations: 0 / 0.9017 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5488, allocations: 0 / 0.9017 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.5489, allocations: 11.98 kB / 0.9017 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5489, allocations: 0 / 0.9017 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.5489, allocations: 0 / 0.9017 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5489, allocations: 7.938 kB / 0.9017 GB, free: 8.352 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.891e-05/0.549, allocations: 108.2 kB / 0.9019 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5491, allocations: 4.062 kB / 0.9019 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.5492, allocations: 132.7 kB / 0.902 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-05/0.5492, allocations: 180.3 kB / 0.9022 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-05/0.5493, allocations: 176.3 kB / 0.9023 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.5494, allocations: 180.2 kB / 0.9025 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.5496, allocations: 417.2 kB / 0.9029 GB, free: 7.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/0.5496, allocations: 104.9 kB / 0.903 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.5497, allocations: 105 kB / 0.9031 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.145e-05/0.5497, allocations: 184.3 kB / 0.9033 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.5498, allocations: 184.2 kB / 0.9034 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-05/0.5499, allocations: 176.3 kB / 0.9036 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-05/0.5499, allocations: 184.2 kB / 0.9038 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.5501, allocations: 308 kB / 0.9041 GB, free: 5.797 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.5501, allocations: 186 kB / 0.9043 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.5502, allocations: 180.3 kB / 0.9044 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5504, allocations: 116.9 kB / 0.9045 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.5504, allocations: 176.3 kB / 0.9047 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.5505, allocations: 105 kB / 0.9048 GB, free: 4.996 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.5505, allocations: 91.14 kB / 0.9049 GB, free: 4.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5506, allocations: 7.938 kB / 0.9049 GB, free: 4.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003025/0.5509, allocations: 51.94 kB / 0.905 GB, free: 4.848 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.0003282/0.5512, allocations: 258.6 kB / 0.9052 GB, free: 4.582 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.528e-05/0.5513, allocations: 12 kB / 0.9052 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5513, allocations: 0 / 0.9052 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.5513, allocations: 4.125 kB / 0.9052 GB, free: 4.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.5517, allocations: 459.7 kB / 0.9057 GB, free: 4.113 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.5519, allocations: 189.8 kB / 0.9058 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.5522, allocations: 0.6768 MB / 0.9065 GB, free: 3.195 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.5522, allocations: 8 kB / 0.9065 GB, free: 3.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.5522, allocations: 7.438 kB / 0.9065 GB, free: 3.18 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.5522, allocations: 0 / 0.9065 GB, free: 3.18 MB / 0.67 GB Notification: Performance of Templates: time 0.0037/0.5559, allocations: 1.302 MB / 0.9078 GB, free: 1.883 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)