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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.646/1.646, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.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.0008721/0.0008724, allocations: 12 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.654/0.6549, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1491/0.804, allocations: 134.1 MB / 0.859 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001345/0.8042, allocations: 43.89 kB / 0.8591 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.8042, allocations: 3.938 kB / 0.8591 GB, free: 4.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.8043, allocations: 3.938 kB / 0.8591 GB, free: 4.871 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.8044, allocations: 7.984 kB / 0.8591 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.8048, allocations: 83.69 kB / 0.8592 GB, free: 4.781 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.8049, allocations: 35.91 kB / 0.8592 GB, free: 4.746 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.8049, allocations: 4 kB / 0.8592 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.805, allocations: 23.91 kB / 0.8592 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.805, allocations: 7.984 kB / 0.8592 GB, free: 4.711 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.8051, allocations: 4 kB / 0.8593 GB, free: 4.707 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.8053, allocations: 39.84 kB / 0.8593 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.8053, allocations: 7.984 kB / 0.8593 GB, free: 4.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.8054, allocations: 37.64 kB / 0.8593 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 9.456e-05/0.8055, allocations: 29.94 kB / 0.8594 GB, free: 4.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8055, allocations: 3.938 kB / 0.8594 GB, free: 4.586 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8055, allocations: 0 / 0.8594 GB, free: 4.586 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8055, allocations: 0 / 0.8594 GB, free: 4.586 MB / 0.67 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.0003517/0.8058, allocations: 335.4 kB / 0.8597 GB, free: 4.211 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.8059, allocations: 8.031 kB / 0.8597 GB, free: 4.203 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.8061, allocations: 19.94 kB / 0.8597 GB, free: 4.184 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8063, allocations: 167.1 kB / 0.8599 GB, free: 3.98 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.8064, allocations: 29.7 kB / 0.8599 GB, free: 3.945 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.8064, allocations: 0 / 0.8599 GB, free: 3.945 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.8065, allocations: 53.66 kB / 0.8599 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8066, allocations: 0 / 0.8599 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.8066, allocations: 0 / 0.8599 GB, free: 3.887 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.8066, allocations: 3.938 kB / 0.86 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.8067, allocations: 23.94 kB / 0.86 GB, free: 3.859 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.8071, allocations: 264.9 kB / 0.8602 GB, free: 3.551 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.8071, allocations: 14.58 kB / 0.8602 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.8072, allocations: 8.922 kB / 0.8603 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.8072, allocations: 0 / 0.8603 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.8072, allocations: 46.44 kB / 0.8603 GB, free: 3.461 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8072, allocations: 0 / 0.8603 GB, free: 3.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.8074, allocations: 33.66 kB / 0.8603 GB, free: 3.422 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.8074, allocations: 55.41 kB / 0.8604 GB, free: 3.355 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.8075, allocations: 105.8 kB / 0.8605 GB, free: 3.242 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.8076, allocations: 25.7 kB / 0.8605 GB, free: 3.211 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.8076, allocations: 91.98 kB / 0.8606 GB, free: 3.117 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.8076, allocations: 3.906 kB / 0.8606 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.8076, allocations: 0 / 0.8606 GB, free: 3.113 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8078, allocations: 323 kB / 0.8609 GB, free: 2.789 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.8078, allocations: 0 / 0.8609 GB, free: 2.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.8078, allocations: 26.58 kB / 0.8609 GB, free: 2.754 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.8079, allocations: 11.92 kB / 0.8609 GB, free: 2.742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8079, allocations: 0 / 0.8609 GB, free: 2.742 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.241e-05/0.808, allocations: 57.62 kB / 0.861 GB, free: 2.68 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.808, allocations: 4 kB / 0.861 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.808, allocations: 0 / 0.861 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.808, allocations: 7.953 kB / 0.861 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.8081, allocations: 8 kB / 0.861 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8081, allocations: 4 kB / 0.861 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.8082, allocations: 0 / 0.861 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.8082, allocations: 0 / 0.861 GB, free: 2.656 MB / 0.67 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 8.674e-05/0.8083, allocations: 109.8 kB / 0.8611 GB, free: 2.539 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.8083, allocations: 8 kB / 0.8611 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.8083, allocations: 15.05 kB / 0.8611 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8083, allocations: 3.953 kB / 0.8612 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8084, allocations: 0 / 0.8612 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8084, allocations: 0 / 0.8612 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.8086, allocations: 346.7 kB / 0.8615 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8086, allocations: 0 / 0.8615 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.8086, allocations: 256 / 0.8615 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8087, allocations: 11.98 kB / 0.8615 GB, free: 2.102 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.8087, allocations: 4 kB / 0.8615 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8087, allocations: 0 / 0.8615 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8087, allocations: 0 / 0.8615 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.8088, allocations: 65.03 kB / 0.8616 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.8088, allocations: 81.11 kB / 0.8616 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.8088, allocations: 3.953 kB / 0.8616 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.8089, allocations: 12.02 kB / 0.8617 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.8089, allocations: 0 / 0.8617 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.8089, allocations: 0 / 0.8617 GB, free: 1.902 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.809, allocations: 79.28 kB / 0.8617 GB, free: 1.824 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.809, allocations: 0 / 0.8617 GB, free: 1.824 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002214/0.8092, allocations: 8 kB / 0.8617 GB, free: 1.816 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.899e-05/0.8093, allocations: 103.2 kB / 0.8618 GB, free: 1.707 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/0.8094, allocations: 16.06 kB / 0.8618 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8094, allocations: 4.062 kB / 0.8619 GB, free: 1.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.8094, allocations: 0 / 0.8619 GB, free: 1.688 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.8096, allocations: 8 kB / 0.8619 GB, free: 1.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.8099, allocations: 120.5 kB / 0.862 GB, free: 1.535 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.8101, allocations: 0.677 MB / 0.8626 GB, free: 0.832 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.899e-05/0.8102, allocations: 16.12 kB / 0.8627 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.8102, allocations: 7.438 kB / 0.8627 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.8102, allocations: 0 / 0.8627 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of Templates: time 0.002399/0.8126, allocations: 446.3 kB / 0.8631 GB, free: 424 kB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: