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.769/0.769, allocations: 128.8 MB / 143.7 MB, free: 2.297 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.001384/0.001384, allocations: 186 kB / 173.8 MB, free: 6.105 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.886/1.886, allocations: 205.4 MB / 409 MB, free: 10.49 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.00109/0.00109, allocations: 97.03 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8.031 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.299/6.493, allocations: 2.128 GB / 2.764 GB, free: 243.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004909/6.494, allocations: 78.66 kB / 2.764 GB, free: 243.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07477/6.568, allocations: 37.25 MB / 2.8 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.885e-06/6.569, allocations: 0 / 2.8 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.267e-06/6.569, allocations: 0 / 2.8 GB, free: 215.2 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.0004252/6.569, allocations: 335.4 kB / 2.801 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/6.569, allocations: 12.03 kB / 2.801 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/6.569, allocations: 19.97 kB / 2.801 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/6.57, allocations: 167 kB / 2.801 GB, free: 214.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/6.57, allocations: 33.69 kB / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/6.57, allocations: 0 / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/6.57, allocations: 57.56 kB / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/6.57, allocations: 0 / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/6.57, allocations: 0 / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/6.57, allocations: 7.938 kB / 2.801 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/6.57, allocations: 19.97 kB / 2.801 GB, free: 214.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/6.57, allocations: 261.5 kB / 2.801 GB, free: 214.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/6.57, allocations: 30.52 kB / 2.801 GB, free: 214.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/6.571, allocations: 89.17 kB / 2.801 GB, free: 214 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/6.571, allocations: 38.48 kB / 2.801 GB, free: 214 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/6.571, allocations: 4 kB / 2.801 GB, free: 213.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/6.571, allocations: 45.69 kB / 2.801 GB, free: 213.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/6.571, allocations: 55.41 kB / 2.801 GB, free: 213.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/6.571, allocations: 93 kB / 2.801 GB, free: 213.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/6.571, allocations: 25.7 kB / 2.801 GB, free: 213.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/6.571, allocations: 87.98 kB / 2.802 GB, free: 213.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/6.571, allocations: 7.891 kB / 2.802 GB, free: 213.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/6.571, allocations: 8.125 kB / 2.802 GB, free: 213.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/6.571, allocations: 314.8 kB / 2.802 GB, free: 213.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/6.571, allocations: 0 / 2.802 GB, free: 213.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/6.571, allocations: 34.5 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/6.571, allocations: 4 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/6.571, allocations: 0 / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.715e-05/6.571, allocations: 61.58 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/6.571, allocations: 4 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/6.571, allocations: 0 / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/6.571, allocations: 4 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/6.571, allocations: 4 kB / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/6.571, allocations: 0 / 2.802 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/6.571, allocations: 8 kB / 2.802 GB, free: 213.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/6.571, allocations: 0 / 2.802 GB, free: 213.1 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 () * Number of clocked 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.589e-05/6.572, allocations: 117.9 kB / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/6.572, allocations: 7.938 kB / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/6.572, allocations: 11.06 kB / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/6.572, allocations: 4 kB / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/6.572, allocations: 3.938 kB / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/6.572, allocations: 0 / 2.802 GB, free: 213 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/6.572, allocations: 355.5 kB / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/6.572, allocations: 3.984 kB / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/6.572, allocations: 12 kB / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/6.572, allocations: 0 / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/6.572, allocations: 0 / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/6.572, allocations: 4 kB / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/6.572, allocations: 0 / 2.802 GB, free: 212.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.903e-05/6.572, allocations: 83.67 kB / 2.803 GB, free: 212.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/6.572, allocations: 85.09 kB / 2.803 GB, free: 212.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/6.572, allocations: 3.938 kB / 2.803 GB, free: 212.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/6.572, allocations: 0 / 2.803 GB, free: 212.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/6.572, allocations: 4 kB / 2.803 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/6.572, allocations: 0 / 2.803 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.489e-05/6.572, allocations: 83.27 kB / 2.803 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.12e-07/6.572, allocations: 0 / 2.803 GB, free: 212.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003191/6.572, allocations: 39.94 kB / 2.803 GB, free: 212.2 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 () * Number of clocked 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.0006284/6.573, allocations: 0.5569 MB / 2.803 GB, free: 211.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.275e-05/6.573, allocations: 12 kB / 2.803 GB, free: 211.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/6.573, allocations: 0 / 2.803 GB, free: 211.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/6.573, allocations: 15.92 kB / 2.803 GB, free: 211.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/6.573, allocations: 7.891 kB / 2.803 GB, free: 211.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/6.574, allocations: 137.7 kB / 2.803 GB, free: 211.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/6.574, allocations: 0.677 MB / 2.804 GB, free: 210.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.222e-05/6.574, allocations: 11.97 kB / 2.804 GB, free: 210.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/6.574, allocations: 7.438 kB / 2.804 GB, free: 210.8 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/6.574, allocations: 4 kB / 2.804 GB, free: 210.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.01032/6.584, allocations: 7.598 MB / 2.812 GB, free: 203.1 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)