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: 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.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001044/0.001044, allocations: 185 kB / 377.1 MB, free: 1.535 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.442/1.442, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.001268/0.001268, allocations: 92.16 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003846, allocations: 8 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.69/12.01, allocations: 4.612 GB / 5.6 GB, free: 185.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/12.01, allocations: 85.41 kB / 5.6 GB, free: 185.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0787/12.09, allocations: 45.24 MB / 5.645 GB, free: 139.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.655e-06/12.09, allocations: 4 kB / 5.645 GB, free: 139.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.702e-06/12.09, allocations: 0 / 5.645 GB, free: 139.6 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.0002722/12.09, allocations: 336.1 kB / 5.645 GB, free: 139.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/12.09, allocations: 12.02 kB / 5.645 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/12.09, allocations: 29.11 kB / 5.645 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/12.09, allocations: 159.1 kB / 5.645 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/12.09, allocations: 33.69 kB / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/12.09, allocations: 0 / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/12.09, allocations: 53.62 kB / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/12.09, allocations: 0 / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/12.09, allocations: 0.9375 kB / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/12.09, allocations: 3.984 kB / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/12.09, allocations: 23.97 kB / 5.645 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/12.09, allocations: 268.7 kB / 5.645 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/12.09, allocations: 14.58 kB / 5.645 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/12.09, allocations: 0 / 5.645 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/12.09, allocations: 38.62 kB / 5.645 GB, free: 138.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/12.09, allocations: 4 kB / 5.645 GB, free: 138.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/12.09, allocations: 37.67 kB / 5.646 GB, free: 138.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/12.09, allocations: 51.41 kB / 5.646 GB, free: 138.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/12.09, allocations: 98.03 kB / 5.646 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/12.09, allocations: 29.69 kB / 5.646 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/12.09, allocations: 95.95 kB / 5.646 GB, free: 138.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/12.09, allocations: 3.938 kB / 5.646 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/12.09, allocations: 0 / 5.646 GB, free: 138.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.293e-05/12.09, allocations: 315.4 kB / 5.646 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/12.09, allocations: 8 kB / 5.646 GB, free: 137.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/12.09, allocations: 22.56 kB / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/12.09, allocations: 8 kB / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/12.09, allocations: 0 / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.625e-05/12.09, allocations: 57.67 kB / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/12.09, allocations: 12.84 kB / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/12.09, allocations: 0 / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/12.09, allocations: 0 / 5.646 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/12.09, allocations: 11.94 kB / 5.646 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/12.09, allocations: 0 / 5.646 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/12.09, allocations: 3.906 kB / 5.646 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/12.09, allocations: 7.984 kB / 5.646 GB, free: 137.6 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 5.692e-05/12.09, allocations: 105.8 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/12.09, allocations: 7.953 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/12.09, allocations: 11.78 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/12.09, allocations: 0 / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/12.09, allocations: 0 / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/12.09, allocations: 0 / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/12.09, allocations: 350.7 kB / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/12.09, allocations: 0 / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/12.09, allocations: 4 kB / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/12.09, allocations: 1.031 kB / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/12.09, allocations: 7.969 kB / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/12.09, allocations: 0 / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/12.09, allocations: 0 / 5.647 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.904e-05/12.09, allocations: 57.14 kB / 5.647 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/12.09, allocations: 85.05 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/12.09, allocations: 0 / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/12.09, allocations: 4 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/12.09, allocations: 4.031 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/12.09, allocations: 4 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.914e-05/12.09, allocations: 91.52 kB / 5.647 GB, free: 136.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/12.09, allocations: 0.5625 kB / 5.647 GB, free: 136.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003033/12.09, allocations: 36 kB / 5.647 GB, free: 136.8 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.0005825/12.09, allocations: 0.5649 MB / 5.648 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/12.09, allocations: 8 kB / 5.648 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/12.09, allocations: 0 / 5.648 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-06/12.09, allocations: 4 kB / 5.648 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/12.09, allocations: 4 kB / 5.648 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/12.09, allocations: 136.9 kB / 5.648 GB, free: 136 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/12.09, allocations: 0.6809 MB / 5.648 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.487e-05/12.09, allocations: 4 kB / 5.648 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/12.09, allocations: 7.438 kB / 5.648 GB, free: 135.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/12.09, allocations: 1.031 kB / 5.648 GB, free: 135.3 MB / 0.948 GB Notification: Performance of Templates: time 0.009386/12.1, allocations: 7.855 MB / 5.656 GB, free: 127.5 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)