Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.109/4.109, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002447/0.002446, allocations: 179.6 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.038/4.038, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 96.78 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008543/0.0008544, allocations: 12.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3635, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.38/10.74, allocations: 2.171 GB / 3.071 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/10.74, allocations: 79.09 kB / 3.071 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.103/11.84, allocations: 36.67 MB / 3.107 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.797e-06/11.84, allocations: 0 / 3.107 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.171e-05/11.84, allocations: 0.9375 kB / 3.107 GB, free: 326.9 MB / 0.8855 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.0005111/11.84, allocations: 356.4 kB / 3.107 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/11.84, allocations: 9.938 kB / 3.107 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/11.84, allocations: 22.38 kB / 3.107 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/11.84, allocations: 169 kB / 3.107 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/11.85, allocations: 30.86 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/11.85, allocations: 6.141 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/11.85, allocations: 47.78 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/11.85, allocations: 3.938 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/11.85, allocations: 4 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/11.85, allocations: 2.5 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/11.85, allocations: 17.97 kB / 3.107 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/11.85, allocations: 261.7 kB / 3.108 GB, free: 326 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.072e-05/11.85, allocations: 18.39 kB / 3.108 GB, free: 326 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/11.85, allocations: 11.2 kB / 3.108 GB, free: 326 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/11.85, allocations: 95.64 kB / 3.108 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/11.85, allocations: 35.62 kB / 3.108 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 5.821e-06/11.85, allocations: 0 / 3.108 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0004603/11.85, allocations: 54.31 kB / 3.108 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/11.85, allocations: 51.41 kB / 3.108 GB, free: 325.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/11.85, allocations: 110.9 kB / 3.108 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/11.85, allocations: 26.64 kB / 3.108 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/11.85, allocations: 87.33 kB / 3.108 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/11.85, allocations: 4.781 kB / 3.108 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/11.85, allocations: 1 kB / 3.108 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/11.85, allocations: 319 kB / 3.108 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/11.85, allocations: 2.562 kB / 3.108 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/11.85, allocations: 28.08 kB / 3.108 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/11.85, allocations: 11.94 kB / 3.108 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/11.85, allocations: 1 kB / 3.108 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001756/11.85, allocations: 63.44 kB / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/11.85, allocations: 6.406 kB / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/11.85, allocations: 0 / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/11.85, allocations: 1.656 kB / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/11.85, allocations: 10.16 kB / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/11.85, allocations: 0 / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/11.85, allocations: 4.281 kB / 3.108 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/11.85, allocations: 5.5 kB / 3.108 GB, free: 325.1 MB / 0.8855 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 0.0001107/11.85, allocations: 112.4 kB / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/11.85, allocations: 1.375 kB / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/11.85, allocations: 12.05 kB / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/11.85, allocations: 0 / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/11.85, allocations: 0 / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/11.85, allocations: 5.188 kB / 3.109 GB, free: 325 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/11.85, allocations: 365.2 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/11.85, allocations: 1.312 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/11.85, allocations: 2.438 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/11.85, allocations: 1.25 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/11.85, allocations: 1.094 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/11.85, allocations: 4.875 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/11.85, allocations: 3.75 kB / 3.109 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/11.85, allocations: 71.81 kB / 3.109 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/11.85, allocations: 81.94 kB / 3.109 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/11.85, allocations: 0.9688 kB / 3.109 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/11.85, allocations: 4.812 kB / 3.109 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/11.85, allocations: 3.938 kB / 3.109 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/11.85, allocations: 9.422 kB / 3.109 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.879e-05/11.85, allocations: 86.5 kB / 3.109 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/11.85, allocations: 0 / 3.109 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007098/11.85, allocations: 38.72 kB / 3.109 GB, free: 324.4 MB / 0.8855 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.001331/11.85, allocations: 0.5618 MB / 3.11 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001888/11.85, allocations: 14.19 kB / 3.11 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/11.85, allocations: 0 / 3.11 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/11.85, allocations: 7.438 kB / 3.11 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/11.85, allocations: 16.47 kB / 3.11 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/11.85, allocations: 128.2 kB / 3.11 GB, free: 324 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/11.85, allocations: 0.6739 MB / 3.111 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001854/11.85, allocations: 11.36 kB / 3.111 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/11.85, allocations: 8.75 kB / 3.111 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.793e-06/11.85, allocations: 0 / 3.111 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.02944/11.88, allocations: 7.607 MB / 3.118 GB, free: 322.6 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)