Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.22 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1724/0.5166, allocations: 147.8 MB / 1.213 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.5168, allocations: 59.67 kB / 1.213 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.5169, allocations: 0 / 1.213 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.517, allocations: 0 / 1.213 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.5171, allocations: 19.91 kB / 1.213 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.5176, allocations: 103.6 kB / 1.213 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.5177, allocations: 31.91 kB / 1.213 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.5178, allocations: 4 kB / 1.213 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.5178, allocations: 19.92 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.5179, allocations: 19.92 kB / 1.213 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5179, allocations: 0 / 1.213 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.5182, allocations: 79.72 kB / 1.213 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.5183, allocations: 11.98 kB / 1.213 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.5183, allocations: 7.938 kB / 1.213 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.5185, allocations: 72.17 kB / 1.213 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5185, allocations: 4 kB / 1.213 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5185, allocations: 0 / 1.213 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.5186, allocations: 0 / 1.213 GB, free: 5.613 MB / 0.9669 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.0004454/0.519, allocations: 335.5 kB / 1.213 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5191, allocations: 12.03 kB / 1.213 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.5193, allocations: 20.83 kB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5195, allocations: 168.3 kB / 1.213 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.5195, allocations: 33.58 kB / 1.213 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.5196, allocations: 0 / 1.213 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.5197, allocations: 57.61 kB / 1.214 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5197, allocations: 0 / 1.214 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5198, allocations: 0 / 1.214 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.5198, allocations: 7.984 kB / 1.214 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.5199, allocations: 15.98 kB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.5203, allocations: 256.8 kB / 1.214 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.5204, allocations: 22.62 kB / 1.214 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.5204, allocations: 12.78 kB / 1.214 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.5204, allocations: 0 / 1.214 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5204, allocations: 34.62 kB / 1.214 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.5204, allocations: 0 / 1.214 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.5206, allocations: 33.7 kB / 1.214 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5206, allocations: 55.34 kB / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.5207, allocations: 117.9 kB / 1.214 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.5208, allocations: 25.7 kB / 1.214 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.5208, allocations: 92.03 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.5208, allocations: 0 / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.5209, allocations: 21.7 kB / 1.214 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.521, allocations: 310.8 kB / 1.215 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.521, allocations: 7.938 kB / 1.215 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.5211, allocations: 26.58 kB / 1.215 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.5211, allocations: 30.56 kB / 1.215 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5211, allocations: 0 / 1.215 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.5212, allocations: 57.53 kB / 1.215 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5213, allocations: 8 kB / 1.215 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5213, allocations: 96 / 1.215 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5213, allocations: 4 kB / 1.215 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.5214, allocations: 11.94 kB / 1.215 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5214, allocations: 3.938 kB / 1.215 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.5214, allocations: 0 / 1.215 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5214, allocations: 4 kB / 1.215 GB, free: 3.617 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.5215, allocations: 117.7 kB / 1.215 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.5216, allocations: 7.984 kB / 1.215 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.5216, allocations: 3.125 kB / 1.215 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5216, allocations: 4 kB / 1.215 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5216, allocations: 3.938 kB / 1.215 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5216, allocations: 0 / 1.215 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.5219, allocations: 342.7 kB / 1.215 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5219, allocations: 0 / 1.215 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.5219, allocations: 4 kB / 1.215 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.522, allocations: 7.875 kB / 1.215 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.522, allocations: 3.984 kB / 1.215 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.522, allocations: 0 / 1.215 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.522, allocations: 4.031 kB / 1.215 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.5221, allocations: 61.08 kB / 1.215 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.5221, allocations: 81.05 kB / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.5221, allocations: 0 / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.5222, allocations: 7.984 kB / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.5223, allocations: 256 / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.5223, allocations: 0 / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.5223, allocations: 95.25 kB / 1.215 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5223, allocations: 0 / 1.215 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002006/0.5225, allocations: 8 kB / 1.215 GB, free: 2.773 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.5227, allocations: 99.77 kB / 1.215 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.768e-05/0.5228, allocations: 16 kB / 1.215 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5228, allocations: 0 / 1.215 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-06/0.5228, allocations: 0 / 1.215 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5231, allocations: 12.19 kB / 1.216 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5233, allocations: 106.7 kB / 1.216 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.5236, allocations: 0.6768 MB / 1.216 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.5237, allocations: 12.06 kB / 1.216 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.5237, allocations: 15.44 kB / 1.216 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.5237, allocations: 0 / 1.216 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of Templates: time 0.002696/0.5264, allocations: 0.4959 MB / 1.217 GB, free: 1.297 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)