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.826/1.826, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001354/0.001354, allocations: 185 kB / 377.1 MB, free: 1.504 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.794/1.794, allocations: 205.4 MB / 0.6367 GB, free: 8.586 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.0009793/0.0009792, allocations: 90.28 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 116.3 MB / 0.9883 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.752, allocations: 2.054 GB / 3.043 GB, free: 167 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/5.753, allocations: 75.95 kB / 3.043 GB, free: 166.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06823/5.821, allocations: 37.43 MB / 3.079 GB, free: 129.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.744e-06/5.821, allocations: 0 / 3.079 GB, free: 129.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.137e-05/5.821, allocations: 4 kB / 3.079 GB, free: 129.3 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.0003523/5.821, allocations: 344.1 kB / 3.08 GB, free: 128.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/5.821, allocations: 16.02 kB / 3.08 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/5.822, allocations: 32.45 kB / 3.08 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/5.822, allocations: 159.1 kB / 3.08 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/5.822, allocations: 29.7 kB / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/5.822, allocations: 4 kB / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/5.822, allocations: 49.67 kB / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/5.822, allocations: 0 / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/5.822, allocations: 4 kB / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/5.822, allocations: 4 kB / 3.08 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/5.822, allocations: 23.88 kB / 3.08 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/5.822, allocations: 257 kB / 3.08 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/5.822, allocations: 18.58 kB / 3.08 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/5.823, allocations: 97.16 kB / 3.08 GB, free: 128.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/5.823, allocations: 30.56 kB / 3.08 GB, free: 128.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/5.823, allocations: 0 / 3.08 GB, free: 128.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002528/5.823, allocations: 61.67 kB / 3.08 GB, free: 128 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/5.823, allocations: 51.41 kB / 3.08 GB, free: 127.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/5.823, allocations: 100.9 kB / 3.081 GB, free: 127.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/5.823, allocations: 29.7 kB / 3.081 GB, free: 127.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/5.823, allocations: 84.05 kB / 3.081 GB, free: 127.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-06/5.823, allocations: 7.906 kB / 3.081 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/5.823, allocations: 0 / 3.081 GB, free: 127.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/5.823, allocations: 318.8 kB / 3.081 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/5.823, allocations: 8.031 kB / 3.081 GB, free: 127.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/5.823, allocations: 22.52 kB / 3.081 GB, free: 127.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/5.823, allocations: 11.98 kB / 3.081 GB, free: 127.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/5.823, allocations: 3.938 kB / 3.081 GB, free: 127.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.251e-05/5.823, allocations: 49.64 kB / 3.081 GB, free: 127.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/5.823, allocations: 8.094 kB / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/5.823, allocations: 7.984 kB / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/5.823, allocations: 0 / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/5.823, allocations: 15.89 kB / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/5.824, allocations: 0 / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/5.824, allocations: 3.906 kB / 3.081 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/5.824, allocations: 4 kB / 3.081 GB, free: 127.2 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.772e-05/5.824, allocations: 109.8 kB / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/5.824, allocations: 4 kB / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/5.824, allocations: 3.125 kB / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/5.824, allocations: 7.984 kB / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/5.824, allocations: 3.953 kB / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/5.824, allocations: 0 / 3.081 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/5.824, allocations: 363.6 kB / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/5.824, allocations: 0 / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/5.824, allocations: 7.984 kB / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/5.824, allocations: 0 / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/5.824, allocations: 8.016 kB / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/5.824, allocations: 0 / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/5.824, allocations: 0 / 3.082 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/5.824, allocations: 79.66 kB / 3.082 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/5.824, allocations: 92.95 kB / 3.082 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/5.824, allocations: 4 kB / 3.082 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/5.824, allocations: 4.031 kB / 3.082 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/5.824, allocations: 4 kB / 3.082 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/5.824, allocations: 0 / 3.082 GB, free: 126.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.59e-05/5.824, allocations: 83.27 kB / 3.082 GB, free: 126.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/5.824, allocations: 0 / 3.082 GB, free: 126.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003096/5.825, allocations: 36 kB / 3.082 GB, free: 126.3 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.0006432/5.825, allocations: 0.5457 MB / 3.082 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.35e-05/5.825, allocations: 20 kB / 3.082 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.825, allocations: 0 / 3.082 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/5.825, allocations: 7.984 kB / 3.082 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/5.826, allocations: 4.875 kB / 3.082 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/5.826, allocations: 132.9 kB / 3.083 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/5.826, allocations: 0.6812 MB / 3.083 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.784e-05/5.826, allocations: 7.984 kB / 3.083 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/5.826, allocations: 11.44 kB / 3.083 GB, free: 124.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/5.826, allocations: 0 / 3.083 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01023/5.836, allocations: 7.586 MB / 3.091 GB, free: 117.3 MB / 0.948 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)