Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8863/0.8863, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 174.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 441.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009875, allocations: 95.08 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 276.5 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.42e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4947, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.291/4.786, allocations: 1.671 GB / 2.436 GB, free: 108.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/4.786, allocations: 79.84 kB / 2.436 GB, free: 108.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06799/4.854, allocations: 37.35 MB / 2.472 GB, free: 70.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/4.854, allocations: 0 / 2.472 GB, free: 70.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.274e-06/4.854, allocations: 0 / 2.472 GB, free: 70.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003342/4.854, allocations: 350.4 kB / 2.473 GB, free: 70.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/4.855, allocations: 8.031 kB / 2.473 GB, free: 70.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/4.855, allocations: 27.92 kB / 2.473 GB, free: 70.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/4.855, allocations: 167.1 kB / 2.473 GB, free: 69.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/4.855, allocations: 25.7 kB / 2.473 GB, free: 69.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/4.855, allocations: 4 kB / 2.473 GB, free: 69.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/4.855, allocations: 49.67 kB / 2.473 GB, free: 69.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/4.855, allocations: 4 kB / 2.473 GB, free: 69.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/4.855, allocations: 0 / 2.473 GB, free: 69.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/4.855, allocations: 0 / 2.473 GB, free: 69.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/4.855, allocations: 19.94 kB / 2.473 GB, free: 69.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/4.856, allocations: 264.8 kB / 2.473 GB, free: 69.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.381e-05/4.856, allocations: 26.56 kB / 2.473 GB, free: 69.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/4.856, allocations: 8.922 kB / 2.473 GB, free: 69.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/4.856, allocations: 89.09 kB / 2.473 GB, free: 69.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/4.856, allocations: 34.56 kB / 2.473 GB, free: 69.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/4.856, allocations: 0 / 2.473 GB, free: 69.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/4.856, allocations: 57.58 kB / 2.473 GB, free: 69.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/4.856, allocations: 51.41 kB / 2.473 GB, free: 69.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/4.856, allocations: 93 kB / 2.474 GB, free: 69.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/4.856, allocations: 25.7 kB / 2.474 GB, free: 69.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/4.856, allocations: 88.05 kB / 2.474 GB, free: 69.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/4.856, allocations: 7.938 kB / 2.474 GB, free: 69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/4.856, allocations: 3.938 kB / 2.474 GB, free: 69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/4.856, allocations: 318.8 kB / 2.474 GB, free: 68.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/4.856, allocations: 4 kB / 2.474 GB, free: 68.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/4.856, allocations: 18.58 kB / 2.474 GB, free: 68.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/4.856, allocations: 15.98 kB / 2.474 GB, free: 68.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/4.856, allocations: 7.938 kB / 2.474 GB, free: 68.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.428e-05/4.857, allocations: 49.64 kB / 2.474 GB, free: 68.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/4.857, allocations: 7.938 kB / 2.474 GB, free: 68.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/4.857, allocations: 288 / 2.474 GB, free: 68.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/4.857, allocations: 7.984 kB / 2.474 GB, free: 68.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/4.857, allocations: 4 kB / 2.474 GB, free: 68.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/4.857, allocations: 3.953 kB / 2.474 GB, free: 68.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/4.857, allocations: 7.938 kB / 2.474 GB, free: 68.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/4.857, allocations: 0 / 2.474 GB, free: 68.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.748e-05/4.857, allocations: 109.1 kB / 2.474 GB, free: 68.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/4.857, allocations: 3.984 kB / 2.474 GB, free: 68.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/4.857, allocations: 7.125 kB / 2.474 GB, free: 68.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/4.857, allocations: 0 / 2.474 GB, free: 68.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/4.857, allocations: 0 / 2.474 GB, free: 68.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/4.857, allocations: 3.953 kB / 2.474 GB, free: 68.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/4.857, allocations: 367.5 kB / 2.475 GB, free: 67.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/4.857, allocations: 0 / 2.475 GB, free: 67.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/4.857, allocations: 8 kB / 2.475 GB, free: 67.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/4.857, allocations: 0 / 2.475 GB, free: 67.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/4.857, allocations: 3.953 kB / 2.475 GB, free: 67.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/4.857, allocations: 3.984 kB / 2.475 GB, free: 67.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/4.857, allocations: 4 kB / 2.475 GB, free: 67.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.96e-05/4.857, allocations: 79.72 kB / 2.475 GB, free: 67.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/4.857, allocations: 81.11 kB / 2.475 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/4.857, allocations: 7.938 kB / 2.475 GB, free: 67.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/4.857, allocations: 4 kB / 2.475 GB, free: 67.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/4.857, allocations: 0 / 2.475 GB, free: 67.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/4.857, allocations: 0 / 2.475 GB, free: 67.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.107e-05/4.857, allocations: 83.28 kB / 2.475 GB, free: 67.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.857, allocations: 32 / 2.475 GB, free: 67.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003257/4.858, allocations: 47.98 kB / 2.475 GB, free: 67.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006176/4.858, allocations: 0.5481 MB / 2.475 GB, free: 67.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/4.858, allocations: 19.94 kB / 2.475 GB, free: 67.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/4.858, allocations: 3.938 kB / 2.475 GB, free: 67.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/4.859, allocations: 4 kB / 2.475 GB, free: 67.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/4.859, allocations: 5.188 kB / 2.475 GB, free: 67.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/4.859, allocations: 74.09 kB / 2.475 GB, free: 66.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/4.859, allocations: 0.677 MB / 2.476 GB, free: 66.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.113e-05/4.859, allocations: 7.984 kB / 2.476 GB, free: 66.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/4.859, allocations: 11.44 kB / 2.476 GB, free: 66.23 MB / 0.698 GB Notification: Performance of SimCode: time 6.22e-07/4.859, allocations: 4 kB / 2.476 GB, free: 66.23 MB / 0.698 GB Notification: Performance of Templates: time 0.01073/4.87, allocations: 9.31 MB / 2.485 GB, free: 56.91 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)