Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.0008393/0.0008394, allocations: 171.5 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007598/0.0007598, allocations: 93.17 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 13.31 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1265/0.2822, allocations: 145.3 MB / 1.039 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2823, allocations: 47.88 kB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.2823, allocations: 0 / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2825, allocations: 4 kB / 1.039 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2825, allocations: 11.91 kB / 1.039 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.283, allocations: 93.17 kB / 1.039 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.283, allocations: 59.81 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.2831, allocations: 0 / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.2831, allocations: 12 kB / 1.039 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2832, allocations: 19.92 kB / 1.039 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2832, allocations: 3.984 kB / 1.039 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.2835, allocations: 75.8 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.2835, allocations: 15.91 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.2836, allocations: 12 kB / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2837, allocations: 68.02 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2837, allocations: 0 / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2837, allocations: 0 / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.2838, allocations: 0 / 1.039 GB, free: 1.914 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.0003569/0.2841, allocations: 343.5 kB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2842, allocations: 11.97 kB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2844, allocations: 16.92 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2845, allocations: 160.4 kB / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.2846, allocations: 33.64 kB / 1.04 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.2846, allocations: 0 / 1.04 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2847, allocations: 53.67 kB / 1.04 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2848, allocations: 0 / 1.04 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2848, allocations: 0 / 1.04 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.2848, allocations: 0 / 1.04 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.2849, allocations: 23.92 kB / 1.04 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2852, allocations: 264.8 kB / 1.04 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.2853, allocations: 18.58 kB / 1.04 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.2853, allocations: 8.922 kB / 1.04 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.2853, allocations: 3.938 kB / 1.04 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2853, allocations: 34.56 kB / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.2853, allocations: 0 / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.2855, allocations: 33.64 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2855, allocations: 59.39 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.2856, allocations: 113.9 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2856, allocations: 25.7 kB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.2857, allocations: 92.03 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.2857, allocations: 7.844 kB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.2857, allocations: 13.72 kB / 1.04 GB, free: 420 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.2858, allocations: 310.8 kB / 1.041 GB, free: 100 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.2858, allocations: 8 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.2859, allocations: 22.56 kB / 1.041 GB, free: 60 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.2859, allocations: 34.52 kB / 1.041 GB, free: 16 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2859, allocations: 0 / 1.041 GB, free: 16 kB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.337e-05/0.286, allocations: 53.69 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.286, allocations: 5.094 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.286, allocations: 4 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2861, allocations: 4.094 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.2861, allocations: 4 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2862, allocations: 7.938 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.2862, allocations: 3.984 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.2862, allocations: 0 / 1.041 GB, free: 15.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.2863, allocations: 117.7 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.2863, allocations: 3.906 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.2863, allocations: 7.375 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2864, allocations: 0 / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2864, allocations: 8 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2864, allocations: 81.05 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2864, allocations: 7.922 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2865, allocations: 4 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.2865, allocations: 96 / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.545e-05/0.2866, allocations: 113 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001102/0.2867, allocations: 214.7 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.503e-05/0.2868, allocations: 4 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.2868, allocations: 91.2 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of Backend: time 2.8e-07/0.2868, allocations: 0 / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2872, allocations: 98.39 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004523/0.2876, allocations: 0.5681 MB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of Templates: time 0.002546/0.2902, allocations: 0.647 MB / 1.043 GB, free: 13.91 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)