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.0009327/0.0009328, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001172/0.001172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 263 kB / 291.3 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 11.91 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.39/0.5284, allocations: 122.6 MB / 0.8042 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.5286, allocations: 49.5 kB / 0.8042 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.5287, allocations: 0 / 0.8042 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.943e-05/0.5288, allocations: 2.469 kB / 0.8042 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.5288, allocations: 12.66 kB / 0.8042 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.5294, allocations: 191.7 kB / 0.8044 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.5295, allocations: 49.27 kB / 0.8045 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.939e-05/0.5295, allocations: 2.906 kB / 0.8045 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.5296, allocations: 12.47 kB / 0.8045 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.5296, allocations: 19.55 kB / 0.8045 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5296, allocations: 0 / 0.8045 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.53, allocations: 161.1 kB / 0.8046 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.53, allocations: 5.906 kB / 0.8047 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.5301, allocations: 29.11 kB / 0.8047 GB, free: 17.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.5302, allocations: 105.9 kB / 0.8048 GB, free: 17.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5303, allocations: 0 / 0.8048 GB, free: 17.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5303, allocations: 0 / 0.8048 GB, free: 17.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5303, allocations: 0 / 0.8048 GB, free: 17.48 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.0003005/0.5306, allocations: 353.7 kB / 0.8051 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.5306, allocations: 10.88 kB / 0.8051 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.5306, allocations: 6.203 kB / 0.8051 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.5307, allocations: 163.1 kB / 0.8053 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.5308, allocations: 29.55 kB / 0.8053 GB, free: 16.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.5308, allocations: 0 / 0.8053 GB, free: 16.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.5309, allocations: 47.64 kB / 0.8054 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.531, allocations: 0 / 0.8054 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.531, allocations: 0.8438 kB / 0.8054 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.531, allocations: 2.562 kB / 0.8054 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.531, allocations: 20.11 kB / 0.8054 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.5317, allocations: 0.6031 MB / 0.806 GB, free: 16.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 2.596e-05/0.5317, allocations: 17.95 kB / 0.806 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.5318, allocations: 10.98 kB / 0.806 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.532, allocations: 334.6 kB / 0.8063 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.532, allocations: 38.19 kB / 0.8064 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.532, allocations: 0 / 0.8064 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.5321, allocations: 43.06 kB / 0.8064 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5322, allocations: 51.41 kB / 0.8064 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.5322, allocations: 105.5 kB / 0.8065 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.5323, allocations: 27.14 kB / 0.8066 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.5323, allocations: 91.23 kB / 0.8067 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.5323, allocations: 1.031 kB / 0.8067 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.5323, allocations: 4.125 kB / 0.8067 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.5324, allocations: 314.8 kB / 0.807 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.5324, allocations: 5.812 kB / 0.807 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.5325, allocations: 15.5 kB / 0.807 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.5325, allocations: 8.562 kB / 0.807 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5325, allocations: 0 / 0.807 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.804e-05/0.5326, allocations: 51.73 kB / 0.807 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.5326, allocations: 8.562 kB / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5326, allocations: 0.7812 kB / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.5326, allocations: 6.734 kB / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.5326, allocations: 3.531 kB / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.5327, allocations: 0 / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.5327, allocations: 8.359 kB / 0.8071 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5327, allocations: 0.7812 kB / 0.8071 GB, free: 15.04 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.5328, allocations: 110.2 kB / 0.8072 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.5328, allocations: 3.938 kB / 0.8072 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.5329, allocations: 122.1 kB / 0.8073 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.538e-05/0.5329, allocations: 180.1 kB / 0.8075 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-05/0.533, allocations: 184.2 kB / 0.8076 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/0.5331, allocations: 179.4 kB / 0.8078 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.5333, allocations: 417 kB / 0.8082 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.5333, allocations: 101.8 kB / 0.8083 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.5333, allocations: 102.4 kB / 0.8084 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.566e-05/0.5334, allocations: 184 kB / 0.8086 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.5334, allocations: 181.7 kB / 0.8088 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.628e-05/0.5335, allocations: 184.1 kB / 0.8089 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/0.5336, allocations: 186.9 kB / 0.8091 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.5337, allocations: 309.5 kB / 0.8094 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.5338, allocations: 179.6 kB / 0.8096 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.5338, allocations: 183.8 kB / 0.8098 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.534, allocations: 114.7 kB / 0.8099 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.534, allocations: 181.6 kB / 0.81 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.5341, allocations: 102.1 kB / 0.8101 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.5341, allocations: 90.55 kB / 0.8102 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5341, allocations: 0 / 0.8102 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002738/0.5344, allocations: 49.12 kB / 0.8103 GB, free: 11.67 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000254/0.5347, allocations: 257.2 kB / 0.8105 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.5347, allocations: 9.719 kB / 0.8105 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5347, allocations: 2.969 kB / 0.8105 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5347, allocations: 0 / 0.8105 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.5351, allocations: 0.5262 MB / 0.811 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.5353, allocations: 188.3 kB / 0.8112 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5356, allocations: 0.6748 MB / 0.8119 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.5356, allocations: 14.88 kB / 0.8119 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.5356, allocations: 10.94 kB / 0.8119 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5356, allocations: 0 / 0.8119 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.00323/0.5389, allocations: 1.224 MB / 0.8131 GB, free: 9.883 MB / 0.5606 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)