Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.529/2.529, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 192.2 kB / 365.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 93.16 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.266e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8626, allocations: 115.2 MB / 0.97 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.168/7.031, allocations: 2.053 GB / 3.023 GB, free: 44.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/7.031, allocations: 79.36 kB / 3.023 GB, free: 44 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1219/7.153, allocations: 37.37 MB / 3.06 GB, free: 9.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/7.153, allocations: 4 kB / 3.06 GB, free: 9.816 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.215e-06/7.153, allocations: 0 / 3.06 GB, free: 9.816 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.0003656/7.154, allocations: 334.5 kB / 3.06 GB, free: 9.445 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/7.154, allocations: 8.031 kB / 3.06 GB, free: 9.438 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/7.154, allocations: 35.77 kB / 3.06 GB, free: 9.402 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/7.154, allocations: 159.1 kB / 3.06 GB, free: 9.207 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/7.154, allocations: 33.7 kB / 3.06 GB, free: 9.168 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/7.154, allocations: 4 kB / 3.06 GB, free: 9.164 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/7.155, allocations: 45.67 kB / 3.06 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/7.155, allocations: 0 / 3.06 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/7.155, allocations: 7.984 kB / 3.06 GB, free: 9.105 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/7.155, allocations: 11.89 kB / 3.06 GB, free: 9.094 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/7.155, allocations: 8 kB / 3.06 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/7.155, allocations: 260.9 kB / 3.061 GB, free: 8.781 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/7.155, allocations: 26.56 kB / 3.061 GB, free: 8.746 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/7.155, allocations: 12.91 kB / 3.061 GB, free: 8.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/7.155, allocations: 93.11 kB / 3.061 GB, free: 8.621 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/7.156, allocations: 38.5 kB / 3.061 GB, free: 8.574 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/7.156, allocations: 0 / 3.061 GB, free: 8.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002598/7.156, allocations: 49.62 kB / 3.061 GB, free: 8.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/7.156, allocations: 55.41 kB / 3.061 GB, free: 8.453 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/7.156, allocations: 93 kB / 3.061 GB, free: 8.355 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/7.156, allocations: 25.7 kB / 3.061 GB, free: 8.324 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/7.156, allocations: 91.98 kB / 3.061 GB, free: 8.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/7.156, allocations: 3.906 kB / 3.061 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/7.156, allocations: 3.938 kB / 3.061 GB, free: 8.223 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/7.156, allocations: 318.8 kB / 3.061 GB, free: 7.902 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/7.156, allocations: 8.031 kB / 3.061 GB, free: 7.895 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/7.156, allocations: 22.58 kB / 3.061 GB, free: 7.863 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/7.156, allocations: 7.984 kB / 3.061 GB, free: 7.855 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/7.156, allocations: 0 / 3.061 GB, free: 7.855 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.94e-05/7.156, allocations: 49.73 kB / 3.061 GB, free: 7.801 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/7.156, allocations: 9.094 kB / 3.061 GB, free: 7.793 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/7.156, allocations: 7.953 kB / 3.061 GB, free: 7.785 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/7.156, allocations: 7.984 kB / 3.061 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/7.156, allocations: 7.938 kB / 3.061 GB, free: 7.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/7.157, allocations: 4 kB / 3.061 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/7.157, allocations: 0 / 3.061 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/7.157, allocations: 4 kB / 3.061 GB, free: 7.762 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 () * 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 5.587e-05/7.157, allocations: 107.2 kB / 3.062 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/7.157, allocations: 3.906 kB / 3.062 GB, free: 7.648 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/7.157, allocations: 11.12 kB / 3.062 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/7.157, allocations: 3.953 kB / 3.062 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/7.157, allocations: 0 / 3.062 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/7.157, allocations: 0 / 3.062 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/7.157, allocations: 359.6 kB / 3.062 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/7.157, allocations: 3.938 kB / 3.062 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/7.157, allocations: 7.953 kB / 3.062 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/7.157, allocations: 4.062 kB / 3.062 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/7.157, allocations: 4 kB / 3.062 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/7.157, allocations: 0 / 3.062 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.157, allocations: 5.938 kB / 3.062 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/7.157, allocations: 83.61 kB / 3.062 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/7.157, allocations: 85.02 kB / 3.062 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/7.157, allocations: 4.031 kB / 3.062 GB, free: 6.984 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/7.157, allocations: 7.984 kB / 3.062 GB, free: 6.977 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/7.158, allocations: 0 / 3.062 GB, free: 6.977 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/7.158, allocations: 4 kB / 3.062 GB, free: 6.973 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.335e-05/7.158, allocations: 79.28 kB / 3.062 GB, free: 6.895 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/7.158, allocations: 0 / 3.062 GB, free: 6.895 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000412/7.158, allocations: 39.98 kB / 3.062 GB, free: 6.855 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 () * 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.0007843/7.159, allocations: 0.5516 MB / 3.063 GB, free: 6.305 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001114/7.159, allocations: 19.94 kB / 3.063 GB, free: 6.285 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/7.159, allocations: 0 / 3.063 GB, free: 6.285 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/7.159, allocations: 4 kB / 3.063 GB, free: 6.281 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/7.159, allocations: 11.95 kB / 3.063 GB, free: 6.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/7.159, allocations: 62.22 kB / 3.063 GB, free: 6.184 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/7.16, allocations: 0.6851 MB / 3.064 GB, free: 5.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.075e-05/7.16, allocations: 11.97 kB / 3.064 GB, free: 5.461 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/7.16, allocations: 11.44 kB / 3.064 GB, free: 5.449 MB / 0.948 GB Notification: Performance of SimCode: time 1.904e-06/7.16, allocations: 0 / 3.064 GB, free: 5.449 MB / 0.948 GB Notification: Performance of Templates: time 0.6508/7.811, allocations: 9.234 MB / 3.073 GB, free: 332.4 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)