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.738/0.738, allocations: 127.4 MB / 134.9 MB, free: 3.426 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 181.9 kB / 164.6 MB, free: 11.62 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.665/1.665, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009466/0.0009465, allocations: 76.59 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.481e-05, allocations: 2.719 kB / 0.5465 GB, free: 95.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 76.77 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.619/4.773, allocations: 2.128 GB / 2.749 GB, free: 53.92 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/4.773, allocations: 77.78 kB / 2.749 GB, free: 53.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06464/4.838, allocations: 36.53 MB / 2.785 GB, free: 16.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/4.838, allocations: 3.938 kB / 2.785 GB, free: 16.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.142e-06/4.838, allocations: 3.938 kB / 2.785 GB, free: 16.81 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.0002429/4.838, allocations: 338.5 kB / 2.785 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/4.838, allocations: 12.03 kB / 2.785 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/4.839, allocations: 23.97 kB / 2.785 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/4.839, allocations: 159.1 kB / 2.786 GB, free: 16.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/4.839, allocations: 29.7 kB / 2.786 GB, free: 16.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/4.839, allocations: 0 / 2.786 GB, free: 16.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.131e-05/4.839, allocations: 19.98 kB / 2.786 GB, free: 16.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/4.839, allocations: 49.58 kB / 2.786 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/4.839, allocations: 7.938 kB / 2.786 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/4.839, allocations: 0 / 2.786 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/4.839, allocations: 0 / 2.786 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/4.839, allocations: 330.5 kB / 2.786 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/4.839, allocations: 14.58 kB / 2.786 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/4.839, allocations: 16.88 kB / 2.786 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/4.839, allocations: 0 / 2.786 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/4.839, allocations: 30.56 kB / 2.786 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/4.839, allocations: 0 / 2.786 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001871/4.84, allocations: 41.62 kB / 2.786 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/4.84, allocations: 51.41 kB / 2.786 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/4.84, allocations: 101 kB / 2.786 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/4.84, allocations: 25.7 kB / 2.786 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/4.84, allocations: 95.97 kB / 2.786 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/4.84, allocations: 7.906 kB / 2.786 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/4.84, allocations: 0 / 2.786 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/4.84, allocations: 310.8 kB / 2.787 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/4.84, allocations: 4 kB / 2.787 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/4.84, allocations: 22.58 kB / 2.787 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/4.84, allocations: 11.98 kB / 2.787 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/4.84, allocations: 0 / 2.787 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.063e-05/4.84, allocations: 45.62 kB / 2.787 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/4.84, allocations: 15.89 kB / 2.787 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/4.84, allocations: 0 / 2.787 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/4.84, allocations: 4 kB / 2.787 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/4.84, allocations: 12 kB / 2.787 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/4.84, allocations: 4.094 kB / 2.787 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/4.84, allocations: 3.938 kB / 2.787 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/4.84, allocations: 4 kB / 2.787 GB, free: 14.82 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 6.377e-05/4.84, allocations: 101 kB / 2.787 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/4.84, allocations: 0 / 2.787 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/4.84, allocations: 15.69 kB / 2.787 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/4.84, allocations: 288 / 2.787 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/4.84, allocations: 0 / 2.787 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/4.84, allocations: 0 / 2.787 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/4.841, allocations: 327.3 kB / 2.787 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/4.841, allocations: 0 / 2.787 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/4.841, allocations: 0 / 2.787 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/4.841, allocations: 3.953 kB / 2.787 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/4.841, allocations: 4 kB / 2.787 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/4.841, allocations: 0 / 2.787 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/4.841, allocations: 7.922 kB / 2.787 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/4.841, allocations: 65 kB / 2.787 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/4.841, allocations: 85.11 kB / 2.787 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/4.841, allocations: 3.953 kB / 2.787 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/4.841, allocations: 0 / 2.787 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/4.841, allocations: 0 / 2.787 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/4.841, allocations: 0 / 2.787 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.468e-05/4.841, allocations: 83.27 kB / 2.787 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/4.841, allocations: 0 / 2.787 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002664/4.841, allocations: 32 kB / 2.787 GB, free: 14.02 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006958/4.842, allocations: 0.6393 MB / 2.788 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/4.842, allocations: 15.94 kB / 2.788 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/4.842, allocations: 0 / 2.788 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/4.842, allocations: 0 / 2.788 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/4.842, allocations: 10.05 kB / 2.788 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001459/4.842, allocations: 56.33 kB / 2.788 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/4.842, allocations: 0.6809 MB / 2.789 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.544e-05/4.842, allocations: 7.984 kB / 2.789 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/4.843, allocations: 7.438 kB / 2.789 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/4.843, allocations: 0 / 2.789 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.005577/4.848, allocations: 3.62 MB / 2.792 GB, free: 8.934 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)