Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009737/0.0009735, allocations: 179.4 kB / 326.5 MB, free: 2.68 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.689/1.689, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0009123/0.0009122, allocations: 82.31 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 8.969 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1663/0.4178, allocations: 145.7 MB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.418, allocations: 55.83 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.4181, allocations: 0 / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.4182, allocations: 0 / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.4183, allocations: 11.92 kB / 1.039 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.4191, allocations: 191.4 kB / 1.039 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4193, allocations: 55.83 kB / 1.039 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.4193, allocations: 4 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.4194, allocations: 11.98 kB / 1.039 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.4194, allocations: 19.92 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4195, allocations: 0 / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.42, allocations: 231.3 kB / 1.04 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.4201, allocations: 4 kB / 1.04 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.4201, allocations: 19.91 kB / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4203, allocations: 72.08 kB / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4203, allocations: 0 / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4203, allocations: 0 / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4204, allocations: 0 / 1.04 GB, free: 1.238 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.0004411/0.4208, allocations: 339.5 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4209, allocations: 8.031 kB / 1.04 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.4212, allocations: 24.91 kB / 1.04 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.4214, allocations: 160.4 kB / 1.04 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.4215, allocations: 45.58 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4215, allocations: 0 / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4216, allocations: 49.67 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4217, allocations: 0 / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4217, allocations: 4 kB / 1.04 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4217, allocations: 4 kB / 1.04 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.4218, allocations: 23.92 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.4222, allocations: 264.8 kB / 1.041 GB, free: 192 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.4223, allocations: 26.55 kB / 1.041 GB, free: 156 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.4223, allocations: 8.922 kB / 1.041 GB, free: 144 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.4225, allocations: 93.09 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.4226, allocations: 38.56 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4226, allocations: 0 / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002633/0.4228, allocations: 49.62 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.4229, allocations: 55.41 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.423, allocations: 105.8 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.423, allocations: 25.7 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.4231, allocations: 88.05 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.4231, allocations: 7.844 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.4231, allocations: 17.84 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4233, allocations: 310.8 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.4233, allocations: 7.984 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.4233, allocations: 22.58 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.4234, allocations: 38.52 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4234, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.883e-05/0.4235, allocations: 53.62 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4235, allocations: 4 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4235, allocations: 0 / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4236, allocations: 4 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.4236, allocations: 7.984 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4236, allocations: 3.938 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.4237, allocations: 8 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.4237, allocations: 4.094 kB / 1.041 GB, free: 15.11 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 9.371e-05/0.4238, allocations: 113.8 kB / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4238, allocations: 0 / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.4239, allocations: 7.125 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4239, allocations: 0 / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4239, allocations: 7.938 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4239, allocations: 3.984 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4242, allocations: 363.8 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4243, allocations: 0 / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.4243, allocations: 4 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4243, allocations: 7.875 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4243, allocations: 3.984 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4243, allocations: 7.938 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4243, allocations: 3.984 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4244, allocations: 66.06 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.4245, allocations: 85.05 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.4245, allocations: 3.984 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4246, allocations: 7.938 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.4246, allocations: 0 / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4246, allocations: 4 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.4247, allocations: 83.27 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.4247, allocations: 32 / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002138/0.4249, allocations: 12 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001406/0.4251, allocations: 95.25 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.4252, allocations: 19.94 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4252, allocations: 0 / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.4252, allocations: 4 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4254, allocations: 16.23 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.4258, allocations: 146.8 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4261, allocations: 0.6809 MB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.4261, allocations: 11.38 kB / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.4261, allocations: 0 / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of Templates: time 0.002132/0.4283, allocations: 0.5874 MB / 1.044 GB, free: 12.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)