Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.858/1.858, allocations: 297.8 MB / 313.8 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 175.4 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 0.6626 GB, free: 4.297 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 93.88 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005126, allocations: 12 kB / 0.9088 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.9175, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.252/5.169, allocations: 1.703 GB / 2.73 GB, free: 139 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/5.17, allocations: 76.48 kB / 2.73 GB, free: 139 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.07207/5.242, allocations: 37.38 MB / 2.766 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.795e-06/5.242, allocations: 0 / 2.766 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.387e-06/5.242, allocations: 0 / 2.766 GB, free: 101.7 MB / 0.9792 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.0003695/5.242, allocations: 339.5 kB / 2.767 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/5.242, allocations: 16.03 kB / 2.767 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/5.242, allocations: 24.89 kB / 2.767 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/5.243, allocations: 165 kB / 2.767 GB, free: 101 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/5.243, allocations: 26.27 kB / 2.767 GB, free: 101 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/5.243, allocations: 4.359 kB / 2.767 GB, free: 101 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/5.243, allocations: 46.25 kB / 2.767 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/5.243, allocations: 3.938 kB / 2.767 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/5.243, allocations: 3.938 kB / 2.767 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/5.243, allocations: 13.73 kB / 2.767 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/5.243, allocations: 23.92 kB / 2.767 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/5.243, allocations: 252.8 kB / 2.767 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/5.243, allocations: 30.59 kB / 2.767 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/5.243, allocations: 8.922 kB / 2.767 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/5.244, allocations: 93.09 kB / 2.767 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/5.244, allocations: 38.56 kB / 2.767 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/5.244, allocations: 0 / 2.767 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0002613/5.244, allocations: 45.62 kB / 2.767 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/5.244, allocations: 61.38 kB / 2.767 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/5.244, allocations: 97.84 kB / 2.767 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/5.244, allocations: 29.83 kB / 2.767 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/5.244, allocations: 88.05 kB / 2.768 GB, free: 100 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/5.244, allocations: 11.84 kB / 2.768 GB, free: 100 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/5.244, allocations: 0 / 2.768 GB, free: 100 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/5.244, allocations: 310.8 kB / 2.768 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/5.244, allocations: 11.98 kB / 2.768 GB, free: 99.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/5.244, allocations: 18.58 kB / 2.768 GB, free: 99.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/5.244, allocations: 38.45 kB / 2.768 GB, free: 99.64 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/5.244, allocations: 0 / 2.768 GB, free: 99.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.971e-05/5.244, allocations: 53.62 kB / 2.768 GB, free: 99.58 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/5.244, allocations: 8 kB / 2.768 GB, free: 99.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/5.244, allocations: 0 / 2.768 GB, free: 99.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.251e-05/5.244, allocations: 0 / 2.768 GB, free: 99.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/5.245, allocations: 16.08 kB / 2.768 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/5.245, allocations: 1.094 kB / 2.768 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/5.245, allocations: 0 / 2.768 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/5.245, allocations: 7.938 kB / 2.768 GB, free: 99.55 MB / 0.9792 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.647e-05/5.245, allocations: 114.3 kB / 2.768 GB, free: 99.43 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/5.245, allocations: 4 kB / 2.768 GB, free: 99.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/5.245, allocations: 10.78 kB / 2.768 GB, free: 99.42 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/5.245, allocations: 0 / 2.768 GB, free: 99.42 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/5.245, allocations: 0 / 2.768 GB, free: 99.42 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/5.245, allocations: 9.797 kB / 2.768 GB, free: 99.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/5.245, allocations: 363.4 kB / 2.769 GB, free: 98.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/5.245, allocations: 4 kB / 2.769 GB, free: 98.99 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/5.245, allocations: 0 / 2.769 GB, free: 98.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/5.245, allocations: 7.984 kB / 2.769 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/5.245, allocations: 0 / 2.769 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/5.245, allocations: 0 / 2.769 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/5.245, allocations: 0 / 2.769 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.959e-05/5.245, allocations: 78 kB / 2.769 GB, free: 98.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/5.245, allocations: 81.05 kB / 2.769 GB, free: 98.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/5.245, allocations: 3.984 kB / 2.769 GB, free: 98.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/5.245, allocations: 4 kB / 2.769 GB, free: 98.78 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/5.245, allocations: 7.938 kB / 2.769 GB, free: 98.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/5.245, allocations: 5.906 kB / 2.769 GB, free: 98.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.094e-05/5.245, allocations: 83.27 kB / 2.769 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.31e-07/5.245, allocations: 0 / 2.769 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003133/5.246, allocations: 36 kB / 2.769 GB, free: 98.65 MB / 0.9792 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.0006873/5.246, allocations: 0.551 MB / 2.769 GB, free: 98.09 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/5.246, allocations: 11.94 kB / 2.769 GB, free: 98.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/5.246, allocations: 4 kB / 2.769 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/5.246, allocations: 4.234 kB / 2.769 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/5.247, allocations: 12.61 kB / 2.769 GB, free: 98.06 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/5.247, allocations: 129.9 kB / 2.77 GB, free: 97.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/5.247, allocations: 0.6809 MB / 2.77 GB, free: 97.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.236e-05/5.247, allocations: 15.98 kB / 2.77 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/5.247, allocations: 7.438 kB / 2.77 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of SimCode: time 2.11e-07/5.247, allocations: 3.938 kB / 2.77 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of Templates: time 0.01053/5.258, allocations: 7.678 MB / 2.778 GB, free: 89.51 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)