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 1.568/1.568, allocations: 287.4 MB / 303.2 MB, free: 8.199 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.0009143/0.0009144, allocations: 178.4 kB / 371.8 MB, free: 10.84 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.324/1.324, allocations: 205.4 MB / 0.6305 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.0008234/0.0008234, allocations: 104.2 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 15.78 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5224/0.7034, allocations: 134 MB / 1.11 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.7036, allocations: 40.59 kB / 1.11 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.7036, allocations: 0 / 1.11 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.625e-05/0.7037, allocations: 5.5 kB / 1.11 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.7038, allocations: 12.62 kB / 1.11 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.7042, allocations: 71.97 kB / 1.11 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.7043, allocations: 50.97 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.7044, allocations: 5.656 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.7044, allocations: 13.06 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.7045, allocations: 15.14 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.7045, allocations: 1.094 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.7048, allocations: 48.06 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.7048, allocations: 7.547 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.336e-05/0.7049, allocations: 28.08 kB / 1.11 GB, free: 17.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.705, allocations: 38.5 kB / 1.111 GB, free: 17.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7051, allocations: 0 / 1.111 GB, free: 17.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7051, allocations: 5.25 kB / 1.111 GB, free: 17.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7051, allocations: 0 / 1.111 GB, free: 17.97 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.0003881/0.7055, allocations: 331.1 kB / 1.111 GB, free: 17.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7055, allocations: 8.312 kB / 1.111 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.7057, allocations: 18.69 kB / 1.111 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7059, allocations: 170.9 kB / 1.111 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.7059, allocations: 31.14 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.706, allocations: 6.406 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.7061, allocations: 46.08 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7061, allocations: 1.859 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7061, allocations: 3.984 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.7062, allocations: 2.922 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.7062, allocations: 21.44 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.7066, allocations: 255.7 kB / 1.111 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.98e-05/0.7066, allocations: 24.44 kB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.7066, allocations: 6.891 kB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-06/0.7066, allocations: 0 / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.7067, allocations: 32.55 kB / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7067, allocations: 0 / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.7068, allocations: 40.22 kB / 1.111 GB, free: 16.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.7068, allocations: 56.59 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.7069, allocations: 107.8 kB / 1.112 GB, free: 16.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.7069, allocations: 26.92 kB / 1.112 GB, free: 16.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.707, allocations: 97.36 kB / 1.112 GB, free: 16.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-06/0.707, allocations: 6.016 kB / 1.112 GB, free: 16.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.707, allocations: 0 / 1.112 GB, free: 16.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.7071, allocations: 317.5 kB / 1.112 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.7071, allocations: 7.344 kB / 1.112 GB, free: 16.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.7071, allocations: 24.78 kB / 1.112 GB, free: 16.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.7072, allocations: 30.3 kB / 1.112 GB, free: 16.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7072, allocations: 1.375 kB / 1.112 GB, free: 16.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.206e-05/0.7073, allocations: 53.47 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7073, allocations: 9.25 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7073, allocations: 1.344 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7073, allocations: 2.031 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.7074, allocations: 6.156 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7074, allocations: 1.312 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.7074, allocations: 11.17 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.7074, allocations: 1.312 kB / 1.112 GB, free: 16.25 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 6.104e-05/0.7075, allocations: 116.5 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.7075, allocations: 2.141 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.7076, allocations: 11.12 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7076, allocations: 0 / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7076, allocations: 0.7031 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.7076, allocations: 83.02 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.7076, allocations: 1.312 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7077, allocations: 12.3 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.7078, allocations: 1.344 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.595e-05/0.7078, allocations: 105.1 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.386e-05/0.7079, allocations: 212.5 kB / 1.113 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.466e-05/0.708, allocations: 5.906 kB / 1.113 GB, free: 15.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.708, allocations: 85.77 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of Backend: time 3.61e-07/0.708, allocations: 0 / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.7084, allocations: 111.1 kB / 1.113 GB, free: 15.55 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003996/0.7088, allocations: 0.5725 MB / 1.113 GB, free: 14.97 MB / 0.698 GB Notification: Performance of Templates: time 0.0026/0.7114, allocations: 0.6461 MB / 1.114 GB, free: 14.89 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)