Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.886/2.886, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001301/0.001301, allocations: 174.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.0009018, allocations: 94.67 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005123, allocations: 10.19 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9121/1.13, allocations: 134.1 MB / 1.109 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/1.13, allocations: 43.62 kB / 1.109 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/1.131, allocations: 0 / 1.109 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/1.131, allocations: 5.969 kB / 1.109 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/1.131, allocations: 13.02 kB / 1.109 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/1.131, allocations: 75.77 kB / 1.109 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/1.131, allocations: 48.23 kB / 1.109 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/1.131, allocations: 2.188 kB / 1.109 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/1.131, allocations: 17.45 kB / 1.109 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/1.132, allocations: 12.77 kB / 1.109 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/1.132, allocations: 1.312 kB / 1.109 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/1.132, allocations: 46.19 kB / 1.11 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/1.132, allocations: 8.5 kB / 1.11 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/1.132, allocations: 30.97 kB / 1.11 GB, free: 17.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/1.132, allocations: 34.5 kB / 1.11 GB, free: 17.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.132, allocations: 0 / 1.11 GB, free: 17.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.132, allocations: 1.25 kB / 1.11 GB, free: 17.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.358e-06/1.132, allocations: 0 / 1.11 GB, free: 17.91 MB / 0.698 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.0004348/1.133, allocations: 337 kB / 1.11 GB, free: 17.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.133, allocations: 12.77 kB / 1.11 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/1.133, allocations: 18.5 kB / 1.11 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.133, allocations: 167 kB / 1.11 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.133, allocations: 28.81 kB / 1.11 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.133, allocations: 1.594 kB / 1.11 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.133, allocations: 53.64 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.134, allocations: 0 / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/1.134, allocations: 5.812 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.134, allocations: 3.422 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/1.134, allocations: 19.3 kB / 1.11 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/1.134, allocations: 250.9 kB / 1.11 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/1.134, allocations: 24.78 kB / 1.11 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/1.134, allocations: 14.3 kB / 1.11 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/1.134, allocations: 0 / 1.11 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/1.134, allocations: 35.77 kB / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/1.134, allocations: 0 / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/1.134, allocations: 33.36 kB / 1.111 GB, free: 16.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.135, allocations: 52.09 kB / 1.111 GB, free: 16.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.135, allocations: 107.8 kB / 1.111 GB, free: 16.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.135, allocations: 26.7 kB / 1.111 GB, free: 16.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/1.135, allocations: 96.95 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/1.135, allocations: 4.359 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.135, allocations: 5.797 kB / 1.111 GB, free: 16.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.135, allocations: 320.6 kB / 1.111 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/1.135, allocations: 3.547 kB / 1.111 GB, free: 16.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/1.135, allocations: 28.22 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/1.135, allocations: 5.188 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.135, allocations: 1.094 kB / 1.111 GB, free: 16.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001181/1.135, allocations: 59.25 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.135, allocations: 4.812 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.135, allocations: 1.125 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.135, allocations: 2.094 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/1.135, allocations: 10.2 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.135, allocations: 1.719 kB / 1.111 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/1.135, allocations: 4.969 kB / 1.111 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.135, allocations: 3.109 kB / 1.111 GB, free: 16.21 MB / 0.698 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 9.467e-05/1.136, allocations: 116.6 kB / 1.111 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/1.136, allocations: 5.484 kB / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/1.136, allocations: 5.562 kB / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.136, allocations: 1.859 kB / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.136, allocations: 0 / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.136, allocations: 6.422 kB / 1.111 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/1.136, allocations: 342.9 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.136, allocations: 1 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/1.136, allocations: 6.5 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.136, allocations: 0.8438 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/1.136, allocations: 1.031 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.136, allocations: 0 / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.136, allocations: 1.281 kB / 1.112 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.044e-05/1.136, allocations: 65.3 kB / 1.112 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/1.136, allocations: 82.47 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/1.136, allocations: 1.562 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.136, allocations: 4.188 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/1.136, allocations: 1.828 kB / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/1.136, allocations: 0 / 1.112 GB, free: 15.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.41e-05/1.137, allocations: 89.47 kB / 1.112 GB, free: 15.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.137, allocations: 2.75 kB / 1.112 GB, free: 15.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002422/1.137, allocations: 5.688 kB / 1.112 GB, free: 15.46 MB / 0.698 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.0001278/1.137, allocations: 96.28 kB / 1.112 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/1.137, allocations: 16.58 kB / 1.112 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.137, allocations: 0 / 1.112 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/1.137, allocations: 2.766 kB / 1.112 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/1.137, allocations: 14.2 kB / 1.112 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/1.138, allocations: 119 kB / 1.112 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.138, allocations: 0.6803 MB / 1.113 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.316e-05/1.138, allocations: 4.375 kB / 1.113 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/1.138, allocations: 16.47 kB / 1.113 GB, free: 14.54 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.138, allocations: 1.094 kB / 1.113 GB, free: 14.54 MB / 0.698 GB Notification: Performance of Templates: time 0.003045/1.141, allocations: 439.3 kB / 1.113 GB, free: 14.49 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)