Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001951/0.001951, allocations: 176.5 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 0.6383 GB, free: 8.262 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.0007386, allocations: 90.72 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.893/10.13, allocations: 4.612 GB / 5.603 GB, free: 213.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/10.13, allocations: 80.52 kB / 5.603 GB, free: 213.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.078/10.21, allocations: 45.25 MB / 5.647 GB, free: 167.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/10.21, allocations: 0 / 5.647 GB, free: 167.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.571e-06/10.21, allocations: 0 / 5.647 GB, free: 167.9 MB / 0.948 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.0002647/10.21, allocations: 344.3 kB / 5.647 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/10.21, allocations: 8.031 kB / 5.647 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/10.21, allocations: 21.55 kB / 5.647 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/10.21, allocations: 164.3 kB / 5.647 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/10.21, allocations: 30.2 kB / 5.647 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/10.21, allocations: 5.406 kB / 5.647 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/10.21, allocations: 46.23 kB / 5.647 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/10.21, allocations: 7.938 kB / 5.647 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/10.21, allocations: 3.938 kB / 5.647 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/10.21, allocations: 4 kB / 5.647 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/10.21, allocations: 19.98 kB / 5.647 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/10.21, allocations: 252.9 kB / 5.648 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.555e-05/10.21, allocations: 22.52 kB / 5.648 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/10.21, allocations: 8.859 kB / 5.648 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/10.21, allocations: 0 / 5.648 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/10.21, allocations: 38.62 kB / 5.648 GB, free: 166.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/10.21, allocations: 0.8438 kB / 5.648 GB, free: 166.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/10.21, allocations: 33.69 kB / 5.648 GB, free: 166.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/10.21, allocations: 55.34 kB / 5.648 GB, free: 166.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/10.21, allocations: 105.8 kB / 5.648 GB, free: 166.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/10.21, allocations: 29.83 kB / 5.648 GB, free: 166.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/10.21, allocations: 91.95 kB / 5.648 GB, free: 166.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/10.21, allocations: 7.938 kB / 5.648 GB, free: 166.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/10.21, allocations: 0 / 5.648 GB, free: 166.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/10.21, allocations: 314.8 kB / 5.648 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/10.21, allocations: 4.938 kB / 5.648 GB, free: 166.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/10.21, allocations: 30.55 kB / 5.648 GB, free: 166.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/10.21, allocations: 34.52 kB / 5.648 GB, free: 166.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/10.21, allocations: 0 / 5.648 GB, free: 166.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.176e-05/10.21, allocations: 53.62 kB / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/10.21, allocations: 8 kB / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/10.21, allocations: 0 / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/10.21, allocations: 0 / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/10.21, allocations: 12.34 kB / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/10.21, allocations: 3.984 kB / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/10.21, allocations: 8.938 kB / 5.649 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/10.21, allocations: 4 kB / 5.649 GB, free: 166 MB / 0.948 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 4.892e-05/10.21, allocations: 113.8 kB / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/10.21, allocations: 8 kB / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/10.21, allocations: 3.125 kB / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/10.21, allocations: 0 / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/10.21, allocations: 0 / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/10.21, allocations: 7.938 kB / 5.649 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/10.21, allocations: 350.7 kB / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/10.21, allocations: 0 / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/10.21, allocations: 4 kB / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/10.21, allocations: 0.6562 kB / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/10.21, allocations: 0 / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/10.21, allocations: 0 / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/10.21, allocations: 0 / 5.649 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.609e-05/10.21, allocations: 73.03 kB / 5.649 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/10.21, allocations: 77.11 kB / 5.649 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/10.21, allocations: 0 / 5.649 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.002e-05/10.21, allocations: 4.844 kB / 5.649 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/10.21, allocations: 3.938 kB / 5.649 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/10.21, allocations: 0 / 5.649 GB, free: 165.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.769e-05/10.21, allocations: 91.27 kB / 5.649 GB, free: 165.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/10.21, allocations: 4.031 kB / 5.649 GB, free: 165.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002944/10.21, allocations: 39.98 kB / 5.649 GB, free: 165.1 MB / 0.948 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 () * Number of clocked 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.0005279/10.21, allocations: 0.5581 MB / 5.65 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.795e-05/10.21, allocations: 12 kB / 5.65 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/10.21, allocations: 4 kB / 5.65 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/10.21, allocations: 7.938 kB / 5.65 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/10.21, allocations: 0 / 5.65 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/10.21, allocations: 121.9 kB / 5.65 GB, free: 164.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/10.21, allocations: 0.6734 MB / 5.651 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.295e-05/10.21, allocations: 13.02 kB / 5.651 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/10.21, allocations: 15.38 kB / 5.651 GB, free: 163.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/10.21, allocations: 0 / 5.651 GB, free: 163.6 MB / 0.948 GB Notification: Performance of Templates: time 0.008941/10.22, allocations: 7.894 MB / 5.658 GB, free: 155.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)