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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.00123/0.00123, allocations: 179.3 kB / 371.6 MB, free: 3.336 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.804/1.804, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008508/0.0008508, allocations: 91.08 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.289e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.19/13.45, allocations: 4.612 GB / 5.592 GB, free: 201.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/13.45, allocations: 77.83 kB / 5.592 GB, free: 201 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08126/13.53, allocations: 45.14 MB / 5.636 GB, free: 155.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/13.53, allocations: 0 / 5.636 GB, free: 155.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.487e-06/13.53, allocations: 0 / 5.636 GB, free: 155.3 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.00035/13.53, allocations: 338.4 kB / 5.636 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/13.53, allocations: 12.02 kB / 5.636 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/13.53, allocations: 31.12 kB / 5.636 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/13.53, allocations: 18.02 kB / 5.636 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/13.54, allocations: 163.1 kB / 5.636 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/13.54, allocations: 29.7 kB / 5.636 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/13.54, allocations: 0 / 5.636 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/13.54, allocations: 45.64 kB / 5.637 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/13.54, allocations: 4.844 kB / 5.637 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/13.54, allocations: 7.984 kB / 5.637 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/13.54, allocations: 4 kB / 5.637 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/13.54, allocations: 11.94 kB / 5.637 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/13.54, allocations: 263.2 kB / 5.637 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/13.54, allocations: 26.58 kB / 5.637 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/13.54, allocations: 4.859 kB / 5.637 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/13.54, allocations: 3.984 kB / 5.637 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/13.54, allocations: 34.62 kB / 5.637 GB, free: 154.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/13.54, allocations: 0.75 kB / 5.637 GB, free: 154.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/13.54, allocations: 37.62 kB / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/13.54, allocations: 55.34 kB / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/13.54, allocations: 101 kB / 5.637 GB, free: 154 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/13.54, allocations: 25.7 kB / 5.637 GB, free: 153.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/13.54, allocations: 88.83 kB / 5.637 GB, free: 153.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/13.54, allocations: 11.84 kB / 5.637 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/13.54, allocations: 0 / 5.637 GB, free: 153.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/13.54, allocations: 315.8 kB / 5.637 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/13.54, allocations: 4 kB / 5.637 GB, free: 153.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/13.54, allocations: 22.58 kB / 5.637 GB, free: 153.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/13.54, allocations: 11.98 kB / 5.637 GB, free: 153.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/13.54, allocations: 3.938 kB / 5.637 GB, free: 153.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.157e-05/13.54, allocations: 57.59 kB / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/13.54, allocations: 4 kB / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/13.54, allocations: 7.969 kB / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/13.54, allocations: 0 / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/13.54, allocations: 8.094 kB / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/13.54, allocations: 4.75 kB / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/13.54, allocations: 0 / 5.638 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/13.54, allocations: 4 kB / 5.638 GB, free: 153.4 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 () * 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 5.469e-05/13.54, allocations: 105 kB / 5.638 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/13.54, allocations: 11.86 kB / 5.638 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/13.54, allocations: 3.125 kB / 5.638 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/13.54, allocations: 0 / 5.638 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/13.54, allocations: 256 / 5.638 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/13.54, allocations: 0.5625 kB / 5.638 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/13.54, allocations: 358.7 kB / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/13.54, allocations: 0 / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/13.54, allocations: 4 kB / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/13.54, allocations: 0 / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/13.54, allocations: 0 / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/13.54, allocations: 1.125 kB / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/13.54, allocations: 0 / 5.638 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.273e-05/13.54, allocations: 69.11 kB / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/13.54, allocations: 77.11 kB / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/13.54, allocations: 0 / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/13.54, allocations: 7.938 kB / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/13.54, allocations: 3.938 kB / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/13.54, allocations: 4 kB / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.883e-05/13.54, allocations: 87.27 kB / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/13.54, allocations: 0 / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003258/13.54, allocations: 44.02 kB / 5.638 GB, free: 152.5 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 () * 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.0007492/13.54, allocations: 1.054 MB / 5.639 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/13.54, allocations: 15.94 kB / 5.639 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/13.54, allocations: 0 / 5.639 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/13.54, allocations: 7.984 kB / 5.639 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/13.54, allocations: 4.547 kB / 5.639 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/13.54, allocations: 86.58 kB / 5.639 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/13.54, allocations: 0.6848 MB / 5.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.302e-05/13.54, allocations: 0 / 5.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/13.54, allocations: 15.44 kB / 5.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.11e-07/13.54, allocations: 0 / 5.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/13.56, allocations: 12.32 MB / 5.652 GB, free: 138.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/13.56, allocations: 186.8 kB / 5.652 GB, free: 138.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/15.61, allocations: 0.9844 kB / 5.652 GB, free: 138.1 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)