Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001439/0.001439, allocations: 105.4 kB / 15.7 MB, free: 24 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.001665/0.001665, allocations: 196 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 64.91 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2974, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7438/1.041, allocations: 147.8 MB / 0.9285 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/1.041, allocations: 44.38 kB / 0.9285 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/1.041, allocations: 2.219 kB / 0.9285 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/1.042, allocations: 5.156 kB / 0.9285 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/1.042, allocations: 13.12 kB / 0.9285 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/1.042, allocations: 100.7 kB / 0.9286 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/1.042, allocations: 32.44 kB / 0.9287 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/1.042, allocations: 2.828 kB / 0.9287 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/1.042, allocations: 14.59 kB / 0.9287 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/1.043, allocations: 16.83 kB / 0.9287 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/1.043, allocations: 2.625 kB / 0.9287 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/1.043, allocations: 76.5 kB / 0.9288 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/1.043, allocations: 13.36 kB / 0.9288 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/1.043, allocations: 11.12 kB / 0.9288 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/1.043, allocations: 76.23 kB / 0.9289 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.043, allocations: 4.656 kB / 0.9289 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.043, allocations: 0 / 0.9289 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.962e-06/1.043, allocations: 0 / 0.9289 GB, free: 3.395 MB / 0.7169 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.0006564/1.044, allocations: 334.4 kB / 0.9292 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.044, allocations: 10.5 kB / 0.9292 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/1.044, allocations: 20.84 kB / 0.9292 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.044, allocations: 165.9 kB / 0.9294 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/1.044, allocations: 37.97 kB / 0.9294 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/1.044, allocations: 2.625 kB / 0.9294 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.044, allocations: 46.64 kB / 0.9295 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.045, allocations: 3.984 kB / 0.9295 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.045, allocations: 0 / 0.9295 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/1.045, allocations: 4.469 kB / 0.9295 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/1.045, allocations: 23.33 kB / 0.9295 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/1.045, allocations: 262.7 kB / 0.9298 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/1.045, allocations: 21.59 kB / 0.9298 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/1.045, allocations: 4.859 kB / 0.9298 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/1.045, allocations: 0 / 0.9298 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/1.045, allocations: 33.89 kB / 0.9298 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.045, allocations: 0 / 0.9298 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/1.045, allocations: 40.2 kB / 0.9298 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.045, allocations: 51.41 kB / 0.9299 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.045, allocations: 111 kB / 0.93 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.045, allocations: 25.7 kB / 0.93 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/1.046, allocations: 99.95 kB / 0.9301 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/1.046, allocations: 0.7969 kB / 0.9301 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.046, allocations: 19.58 kB / 0.9301 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.046, allocations: 315.8 kB / 0.9304 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/1.046, allocations: 3.375 kB / 0.9304 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/1.046, allocations: 25.89 kB / 0.9305 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/1.046, allocations: 30.77 kB / 0.9305 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.046, allocations: 0.75 kB / 0.9305 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.706e-05/1.046, allocations: 63.95 kB / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.046, allocations: 5.25 kB / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.046, allocations: 0.7969 kB / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.046, allocations: 0 / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/1.046, allocations: 10.17 kB / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.046, allocations: 3.938 kB / 0.9306 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/1.046, allocations: 7.312 kB / 0.9306 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/1.046, allocations: 0 / 0.9306 GB, free: 17.66 MB / 0.7325 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 9.047e-05/1.046, allocations: 118 kB / 0.9307 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/1.046, allocations: 2.625 kB / 0.9307 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/1.046, allocations: 5.125 kB / 0.9307 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.046, allocations: 0 / 0.9307 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.046, allocations: 7.359 kB / 0.9307 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/1.046, allocations: 0 / 0.9307 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/1.047, allocations: 339.7 kB / 0.931 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.047, allocations: 0.6562 kB / 0.931 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/1.047, allocations: 8.844 kB / 0.931 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.047, allocations: 3.938 kB / 0.9311 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/1.047, allocations: 0.7031 kB / 0.9311 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.047, allocations: 3.938 kB / 0.9311 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.047, allocations: 0 / 0.9311 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.125e-05/1.047, allocations: 63.91 kB / 0.9311 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/1.047, allocations: 78.38 kB / 0.9312 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.047, allocations: 6.562 kB / 0.9312 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/1.047, allocations: 9.984 kB / 0.9312 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/1.047, allocations: 2.625 kB / 0.9312 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/1.047, allocations: 0 / 0.9312 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.212e-05/1.047, allocations: 87.09 kB / 0.9313 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 0 / 0.9313 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001946/1.047, allocations: 5.25 kB / 0.9313 GB, free: 16.9 MB / 0.7325 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.0001026/1.047, allocations: 98 kB / 0.9314 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/1.047, allocations: 22.67 kB / 0.9314 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.047, allocations: 1.094 kB / 0.9314 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-06/1.047, allocations: 5.25 kB / 0.9314 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/1.048, allocations: 5.453 kB / 0.9314 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/1.048, allocations: 119.4 kB / 0.9315 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/1.048, allocations: 0.6767 MB / 0.9322 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.031e-05/1.048, allocations: 12.88 kB / 0.9322 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/1.048, allocations: 10.06 kB / 0.9322 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/1.048, allocations: 0 / 0.9322 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.002489/1.051, allocations: 464.2 kB / 0.9327 GB, free: 15.95 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)