Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001098/0.001098, allocations: 191 kB / 16.25 MB, free: 6.617 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.534/1.534, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.706/1.706, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001469/0.001468, allocations: 62.42 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.305, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6917/0.9967, allocations: 146.2 MB / 0.9256 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.997, allocations: 57.86 kB / 0.9256 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.997, allocations: 4.938 kB / 0.9256 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.9972, allocations: 2.516 kB / 0.9256 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.9973, allocations: 9.188 kB / 0.9257 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.9981, allocations: 187.3 kB / 0.9258 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.9982, allocations: 35.92 kB / 0.9259 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.9982, allocations: 1.688 kB / 0.9259 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.9983, allocations: 10.48 kB / 0.9259 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.9984, allocations: 23.77 kB / 0.9259 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.9984, allocations: 0 / 0.9259 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.9989, allocations: 201.6 kB / 0.9261 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.9989, allocations: 4.797 kB / 0.9261 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.999, allocations: 13 kB / 0.9261 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.9993, allocations: 124.3 kB / 0.9262 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9993, allocations: 3.938 kB / 0.9262 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9993, allocations: 0.8438 kB / 0.9262 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.9993, allocations: 0 / 0.9262 GB, free: 6.238 MB / 0.7325 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.0008578/1, allocations: 344.2 kB / 0.9266 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1, allocations: 10.06 kB / 0.9266 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/1.001, allocations: 27.47 kB / 0.9266 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.001, allocations: 165.4 kB / 0.9268 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/1.001, allocations: 31.58 kB / 0.9268 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/1.001, allocations: 0.9062 kB / 0.9268 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/1.001, allocations: 53.3 kB / 0.9268 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.001, allocations: 4 kB / 0.9268 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.001, allocations: 1 kB / 0.9268 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.001, allocations: 6.203 kB / 0.9269 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/1.001, allocations: 20.92 kB / 0.9269 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/1.002, allocations: 258 kB / 0.9271 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/1.002, allocations: 23.48 kB / 0.9271 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/1.002, allocations: 14.2 kB / 0.9272 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.002, allocations: 92.62 kB / 0.9272 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.002, allocations: 31.5 kB / 0.9273 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.002, allocations: 0 / 0.9273 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0002811/1.002, allocations: 50.23 kB / 0.9273 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.002, allocations: 56.34 kB / 0.9274 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.002, allocations: 113.4 kB / 0.9275 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/1.003, allocations: 25.7 kB / 0.9275 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/1.003, allocations: 85.8 kB / 0.9276 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/1.003, allocations: 12.91 kB / 0.9276 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/1.003, allocations: 13 kB / 0.9276 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.003, allocations: 316.4 kB / 0.9279 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/1.003, allocations: 6.812 kB / 0.9279 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/1.003, allocations: 25.86 kB / 0.9279 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/1.003, allocations: 31.14 kB / 0.928 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.003, allocations: 0 / 0.928 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.582e-05/1.003, allocations: 56.66 kB / 0.928 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.003, allocations: 9.438 kB / 0.928 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.003, allocations: 2.203 kB / 0.928 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.003, allocations: 1.188 kB / 0.928 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/1.003, allocations: 9.875 kB / 0.9281 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.003, allocations: 4.609 kB / 0.9281 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/1.003, allocations: 8.875 kB / 0.9281 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/1.003, allocations: 2.25 kB / 0.9281 GB, free: 20.43 MB / 0.7481 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 8.997e-05/1.003, allocations: 111 kB / 0.9282 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/1.003, allocations: 1.25 kB / 0.9282 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/1.003, allocations: 12 kB / 0.9282 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/1.003, allocations: 0 / 0.9282 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.003, allocations: 1.656 kB / 0.9282 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.003, allocations: 5.031 kB / 0.9282 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/1.004, allocations: 359.2 kB / 0.9285 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.004, allocations: 0.875 kB / 0.9285 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/1.004, allocations: 6.312 kB / 0.9285 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/1.004, allocations: 10.78 kB / 0.9285 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.004, allocations: 1.031 kB / 0.9286 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.004, allocations: 1.031 kB / 0.9286 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.004, allocations: 0 / 0.9286 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/1.004, allocations: 70.56 kB / 0.9286 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/1.004, allocations: 85.2 kB / 0.9287 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.004, allocations: 7.062 kB / 0.9287 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/1.004, allocations: 6.812 kB / 0.9287 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/1.004, allocations: 2.188 kB / 0.9287 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/1.004, allocations: 0.7812 kB / 0.9287 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.062e-05/1.004, allocations: 82.59 kB / 0.9288 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 1.031 kB / 0.9288 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002082/1.004, allocations: 9 kB / 0.9288 GB, free: 19.66 MB / 0.7481 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.0002124/1.005, allocations: 111.8 kB / 0.9289 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001504/1.005, allocations: 20.28 kB / 0.9289 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.005, allocations: 0 / 0.9289 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/1.005, allocations: 5.438 kB / 0.9289 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/1.005, allocations: 5.094 kB / 0.9289 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/1.006, allocations: 132.2 kB / 0.9291 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/1.006, allocations: 0.6767 MB / 0.9297 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.044e-05/1.006, allocations: 8.266 kB / 0.9297 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/1.006, allocations: 8.344 kB / 0.9297 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/1.006, allocations: 4.75 kB / 0.9297 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.002945/1.009, allocations: 0.5261 MB / 0.9303 GB, free: 18.68 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)