Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.721/2.721, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001335/0.001335, allocations: 178.5 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009653/0.0009649, allocations: 93.14 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 10 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/6.591, allocations: 2.053 GB / 3.033 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/6.592, allocations: 77.28 kB / 3.033 GB, free: 252.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1186/6.71, allocations: 37.44 MB / 3.069 GB, free: 214.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.964e-06/6.71, allocations: 0 / 3.069 GB, free: 214.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.115e-06/6.71, allocations: 4 kB / 3.069 GB, free: 214.6 MB / 0.948 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.0003478/6.711, allocations: 345.4 kB / 3.07 GB, free: 214.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/6.711, allocations: 11.97 kB / 3.07 GB, free: 214.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/6.711, allocations: 33.44 kB / 3.07 GB, free: 214.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/6.711, allocations: 160.4 kB / 3.07 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/6.711, allocations: 30.27 kB / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/6.711, allocations: 384 / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/6.711, allocations: 50.23 kB / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/6.711, allocations: 7.875 kB / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/6.711, allocations: 4 kB / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/6.711, allocations: 0 / 3.07 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/6.712, allocations: 23.92 kB / 3.07 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/6.712, allocations: 256.9 kB / 3.07 GB, free: 213.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/6.712, allocations: 18.58 kB / 3.07 GB, free: 213.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/6.712, allocations: 16.84 kB / 3.07 GB, free: 213.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/6.712, allocations: 89.17 kB / 3.07 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/6.712, allocations: 38.48 kB / 3.07 GB, free: 213.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/6.712, allocations: 0 / 3.07 GB, free: 213.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002625/6.712, allocations: 53.67 kB / 3.07 GB, free: 213.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/6.713, allocations: 51.41 kB / 3.07 GB, free: 213.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/6.713, allocations: 105.9 kB / 3.07 GB, free: 213.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/6.713, allocations: 29.7 kB / 3.071 GB, free: 213.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/6.713, allocations: 88.03 kB / 3.071 GB, free: 213 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-06/6.713, allocations: 3.906 kB / 3.071 GB, free: 213 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/6.713, allocations: 4 kB / 3.071 GB, free: 213 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/6.713, allocations: 314.8 kB / 3.071 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/6.713, allocations: 0 / 3.071 GB, free: 212.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/6.713, allocations: 34.5 kB / 3.071 GB, free: 212.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/6.713, allocations: 34.52 kB / 3.071 GB, free: 212.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/6.713, allocations: 0 / 3.071 GB, free: 212.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.921e-05/6.713, allocations: 53.62 kB / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.713, allocations: 4 kB / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/6.713, allocations: 96 / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/6.713, allocations: 8 kB / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/6.713, allocations: 7.938 kB / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/6.713, allocations: 0 / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/6.713, allocations: 7.906 kB / 3.071 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/6.713, allocations: 7.922 kB / 3.071 GB, free: 212.5 MB / 0.948 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 6.233e-05/6.713, allocations: 113.8 kB / 3.071 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/6.713, allocations: 0 / 3.071 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/6.713, allocations: 7.125 kB / 3.071 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/6.713, allocations: 4 kB / 3.071 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/6.713, allocations: 4 kB / 3.071 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/6.713, allocations: 0 / 3.071 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/6.714, allocations: 367.5 kB / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/6.714, allocations: 4 kB / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/6.714, allocations: 4 kB / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/6.714, allocations: 0 / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/6.714, allocations: 0 / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/6.714, allocations: 4.062 kB / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/6.714, allocations: 4 kB / 3.072 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/6.714, allocations: 73.86 kB / 3.072 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/6.714, allocations: 81.02 kB / 3.072 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/6.714, allocations: 7.938 kB / 3.072 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/6.714, allocations: 7.984 kB / 3.072 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/6.714, allocations: 7.969 kB / 3.072 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/6.714, allocations: 0 / 3.072 GB, free: 211.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.202e-05/6.714, allocations: 83.28 kB / 3.072 GB, free: 211.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/6.714, allocations: 0 / 3.072 GB, free: 211.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003741/6.715, allocations: 39.98 kB / 3.072 GB, free: 211.6 MB / 0.948 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 (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 0.0007322/6.715, allocations: 0.5436 MB / 3.072 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/6.715, allocations: 19.94 kB / 3.072 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.715, allocations: 192 / 3.072 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/6.716, allocations: 8 kB / 3.072 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/6.716, allocations: 4 kB / 3.072 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/6.716, allocations: 133.8 kB / 3.073 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/6.716, allocations: 0.6731 MB / 3.073 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.81e-05/6.716, allocations: 16.09 kB / 3.073 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/6.716, allocations: 7.438 kB / 3.073 GB, free: 210.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/6.716, allocations: 0 / 3.073 GB, free: 210.1 MB / 0.948 GB Notification: Performance of Templates: time 0.0163/6.733, allocations: 7.611 MB / 3.081 GB, free: 202.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)