Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.073/2.073, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 183.6 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.463/2.463, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009244/0.0009244, allocations: 89.16 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 8.906 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1934, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2369/0.4304, allocations: 134.1 MB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.4306, allocations: 51.83 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.4306, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.4307, allocations: 7.922 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.4308, allocations: 11.92 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.4313, allocations: 75.77 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4314, allocations: 47.81 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.4315, allocations: 3.938 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.4315, allocations: 8 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.4316, allocations: 19.92 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.4316, allocations: 0 / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.4319, allocations: 43.83 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.432, allocations: 11.98 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.432, allocations: 29.7 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.4321, allocations: 35.97 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4322, allocations: 0 / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4322, allocations: 0 / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.4322, allocations: 0 / 1.031 GB, free: 10.75 MB / 0.6823 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.0004415/0.4326, allocations: 335.7 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4327, allocations: 8.031 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.433, allocations: 20.92 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4332, allocations: 164.4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.4333, allocations: 33.64 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.4333, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4335, allocations: 49.61 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4335, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4335, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4336, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.4336, allocations: 15.98 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.4342, allocations: 264.8 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.4342, allocations: 22.52 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.4343, allocations: 4.859 kB / 1.032 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.4343, allocations: 3.938 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4343, allocations: 34.62 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.4343, allocations: 4 kB / 1.032 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.4345, allocations: 37.69 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4346, allocations: 55.39 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4347, allocations: 105.8 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4347, allocations: 25.7 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.4348, allocations: 95.97 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.4348, allocations: 3.906 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.4348, allocations: 7.938 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.435, allocations: 315 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.435, allocations: 4 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.435, allocations: 26.56 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.4351, allocations: 4 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4351, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.4352, allocations: 53.69 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4353, allocations: 12.03 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4353, allocations: 7.922 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4353, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.4354, allocations: 8 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4354, allocations: 3.938 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.4355, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.4355, allocations: 4 kB / 1.032 GB, free: 8.82 MB / 0.6823 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 0.0001038/0.4356, allocations: 117.8 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.4357, allocations: 4 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.4357, allocations: 7.125 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4357, allocations: 0 / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4357, allocations: 0 / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.4358, allocations: 88.95 kB / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4358, allocations: 0 / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.436, allocations: 7.984 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.436, allocations: 0 / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.975e-05/0.4361, allocations: 109 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001614/0.4363, allocations: 214.7 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.225e-05/0.4363, allocations: 4 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.4364, allocations: 83.47 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of Backend: time 6.51e-07/0.4364, allocations: 0 / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.4369, allocations: 115.8 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of SimCode: time 0.0005952/0.4375, allocations: 0.576 MB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of Templates: time 0.003676/0.4412, allocations: 0.6331 MB / 1.034 GB, free: 6.781 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)