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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 198.1 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 103.4 kB / 0.748 GB, free: 60.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.92 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2965, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7989/1.095, allocations: 146 MB / 1.125 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/1.096, allocations: 50.77 kB / 1.125 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/1.096, allocations: 0 / 1.125 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/1.096, allocations: 7.453 kB / 1.125 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/1.096, allocations: 11.28 kB / 1.125 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/1.097, allocations: 184 kB / 1.125 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/1.097, allocations: 63.44 kB / 1.125 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/1.097, allocations: 0 / 1.125 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/1.097, allocations: 17.56 kB / 1.125 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/1.097, allocations: 17.52 kB / 1.125 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/1.097, allocations: 0 / 1.125 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/1.097, allocations: 226.3 kB / 1.125 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/1.098, allocations: 7.047 kB / 1.125 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/1.098, allocations: 17.52 kB / 1.125 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/1.098, allocations: 122.2 kB / 1.125 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/1.098, allocations: 0 / 1.125 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/1.098, allocations: 4 kB / 1.125 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.057e-06/1.098, allocations: 0 / 1.125 GB, free: 11.41 MB / 0.7448 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.0004384/1.098, allocations: 348.6 kB / 1.126 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.098, allocations: 9.75 kB / 1.126 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/1.099, allocations: 27.25 kB / 1.126 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/1.099, allocations: 164.6 kB / 1.126 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/1.099, allocations: 29.64 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.099, allocations: 11.31 kB / 1.126 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/1.099, allocations: 47.92 kB / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.099, allocations: 0 / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.099, allocations: 0 / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/1.099, allocations: 3.469 kB / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/1.099, allocations: 20.78 kB / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/1.099, allocations: 259.5 kB / 1.126 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/1.1, allocations: 34 kB / 1.126 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/1.1, allocations: 8.078 kB / 1.126 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/1.1, allocations: 89.86 kB / 1.126 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.1, allocations: 34.44 kB / 1.127 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.1, allocations: 0 / 1.127 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002504/1.1, allocations: 50.98 kB / 1.127 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/1.1, allocations: 52.06 kB / 1.127 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/1.1, allocations: 116.3 kB / 1.127 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.1, allocations: 25.7 kB / 1.127 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/1.1, allocations: 88.05 kB / 1.127 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/1.1, allocations: 14.58 kB / 1.127 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/1.1, allocations: 12.94 kB / 1.127 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/1.1, allocations: 319 kB / 1.127 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/1.1, allocations: 3.969 kB / 1.127 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/1.1, allocations: 24.41 kB / 1.127 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/1.1, allocations: 29.11 kB / 1.127 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.1, allocations: 0 / 1.127 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.456e-05/1.1, allocations: 62.05 kB / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.1, allocations: 6.094 kB / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.1, allocations: 0 / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.101, allocations: 6.641 kB / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/1.101, allocations: 7.219 kB / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.101, allocations: 0.5625 kB / 1.127 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/1.101, allocations: 7.844 kB / 1.127 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/1.101, allocations: 2.969 kB / 1.127 GB, free: 9.527 MB / 0.7448 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 5.673e-05/1.101, allocations: 116.9 kB / 1.127 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/1.101, allocations: 288 / 1.127 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/1.101, allocations: 13.75 kB / 1.127 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.101, allocations: 3.984 kB / 1.127 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.101, allocations: 0.5625 kB / 1.127 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.101, allocations: 3.938 kB / 1.127 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/1.101, allocations: 360.2 kB / 1.128 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.101, allocations: 4.562 kB / 1.128 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/1.101, allocations: 3.5 kB / 1.128 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.101, allocations: 7.438 kB / 1.128 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.101, allocations: 0 / 1.128 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.101, allocations: 0.625 kB / 1.128 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.101, allocations: 0 / 1.128 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/1.101, allocations: 0.6286 MB / 1.128 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/1.101, allocations: 77.11 kB / 1.128 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.101, allocations: 3.312 kB / 1.129 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/1.101, allocations: 7.531 kB / 1.129 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/1.101, allocations: 0.75 kB / 1.129 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.101, allocations: 0 / 1.129 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.355e-05/1.101, allocations: 82.5 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.41e-07/1.101, allocations: 3.281 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002727/1.102, allocations: 11.12 kB / 1.129 GB, free: 8.145 MB / 0.7448 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.0001137/1.102, allocations: 110.9 kB / 1.129 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.991e-05/1.102, allocations: 17.5 kB / 1.129 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.102, allocations: 0 / 1.129 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/1.102, allocations: 7.531 kB / 1.129 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.102, allocations: 11.09 kB / 1.129 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/1.103, allocations: 219 kB / 1.129 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/1.103, allocations: 0.6758 MB / 1.13 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.557e-05/1.103, allocations: 10.8 kB / 1.13 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/1.103, allocations: 10.5 kB / 1.13 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of SimCode: time 2e-07/1.103, allocations: 0 / 1.13 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.002465/1.105, allocations: 0.5238 MB / 1.13 GB, free: 7.059 MB / 0.7448 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)