Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7327/0.7327, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 180.8 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008848/0.0008848, allocations: 82.42 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.431e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1619, allocations: 76.75 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.138, allocations: 2.128 GB / 2.757 GB, free: 201.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/6.138, allocations: 79.23 kB / 2.757 GB, free: 201.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09/6.228, allocations: 37.18 MB / 2.793 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/6.228, allocations: 3.938 kB / 2.793 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.356e-06/6.228, allocations: 0 / 2.793 GB, free: 163.4 MB / 0.6511 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.0003522/6.229, allocations: 334.5 kB / 2.793 GB, free: 163 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/6.229, allocations: 8.031 kB / 2.793 GB, free: 163 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/6.229, allocations: 27.97 kB / 2.793 GB, free: 163 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/6.229, allocations: 159.1 kB / 2.793 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/6.229, allocations: 29.7 kB / 2.793 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/6.229, allocations: 0 / 2.793 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/6.23, allocations: 57.56 kB / 2.793 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/6.23, allocations: 0 / 2.793 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/6.23, allocations: 0 / 2.793 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/6.23, allocations: 3.984 kB / 2.794 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/6.23, allocations: 16 kB / 2.794 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/6.23, allocations: 265.5 kB / 2.794 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/6.23, allocations: 30.47 kB / 2.794 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/6.23, allocations: 8.922 kB / 2.794 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/6.23, allocations: 89.09 kB / 2.794 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/6.23, allocations: 38.56 kB / 2.794 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/6.23, allocations: 0 / 2.794 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002657/6.231, allocations: 49.59 kB / 2.794 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/6.231, allocations: 51.41 kB / 2.794 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/6.231, allocations: 96.98 kB / 2.794 GB, free: 162 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/6.231, allocations: 25.7 kB / 2.794 GB, free: 161.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/6.231, allocations: 92.02 kB / 2.794 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/6.231, allocations: 4 kB / 2.794 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/6.231, allocations: 0 / 2.794 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/6.231, allocations: 314.8 kB / 2.795 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/6.231, allocations: 7.938 kB / 2.795 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/6.231, allocations: 22.56 kB / 2.795 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/6.231, allocations: 12 kB / 2.795 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/6.231, allocations: 0 / 2.795 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/6.231, allocations: 57.48 kB / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/6.231, allocations: 8 kB / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/6.231, allocations: 0 / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/6.231, allocations: 0 / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/6.231, allocations: 12 kB / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/6.231, allocations: 0 / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/6.232, allocations: 3.984 kB / 2.795 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/6.232, allocations: 8.094 kB / 2.795 GB, free: 161.4 MB / 0.6511 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 7.043e-05/6.232, allocations: 104.9 kB / 2.795 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/6.232, allocations: 7.953 kB / 2.795 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/6.232, allocations: 7.406 kB / 2.795 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/6.232, allocations: 3.938 kB / 2.795 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.232, allocations: 3.984 kB / 2.795 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/6.232, allocations: 0 / 2.795 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/6.232, allocations: 363.5 kB / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/6.232, allocations: 4 kB / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/6.232, allocations: 0 / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/6.232, allocations: 4 kB / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/6.232, allocations: 3.938 kB / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/6.232, allocations: 0 / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/6.232, allocations: 0 / 2.795 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/6.232, allocations: 95.62 kB / 2.795 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/6.232, allocations: 77.11 kB / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/6.232, allocations: 0 / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/6.232, allocations: 4 kB / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/6.232, allocations: 3.938 kB / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/6.232, allocations: 0 / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.011e-05/6.232, allocations: 83.27 kB / 2.795 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/6.233, allocations: 4.031 kB / 2.795 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004615/6.233, allocations: 39.98 kB / 2.795 GB, free: 160.5 MB / 0.6511 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.0008397/6.234, allocations: 0.5511 MB / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001029/6.234, allocations: 12 kB / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/6.234, allocations: 0 / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/6.234, allocations: 7.938 kB / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/6.234, allocations: 17.81 kB / 2.796 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/6.234, allocations: 70.22 kB / 2.796 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/6.235, allocations: 0.6731 MB / 2.797 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.581e-05/6.235, allocations: 11.98 kB / 2.797 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/6.235, allocations: 7.438 kB / 2.797 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of SimCode: time 4.4e-07/6.235, allocations: 0 / 2.797 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.01727/6.252, allocations: 9.265 MB / 2.806 GB, free: 149.8 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)