Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.4 MB / 304.3 MB, free: 8.012 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.001007/0.001007, allocations: 187.6 kB / 373 MB, free: 10.16 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.558/1.558, allocations: 205.4 MB / 0.6317 GB, free: 9.844 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.0007514/0.0007514, allocations: 90.36 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 16.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/4.836, allocations: 2.053 GB / 3.034 GB, free: 265.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/4.837, allocations: 84.41 kB / 3.034 GB, free: 265.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06535/4.902, allocations: 37.44 MB / 3.071 GB, free: 227.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/4.902, allocations: 0 / 3.071 GB, free: 227.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.083e-06/4.902, allocations: 0 / 3.071 GB, free: 227.2 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.0003296/4.902, allocations: 347.5 kB / 3.071 GB, free: 226.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/4.903, allocations: 12.03 kB / 3.071 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/4.903, allocations: 25.44 kB / 3.071 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/4.903, allocations: 164.4 kB / 3.071 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/4.903, allocations: 30.27 kB / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/4.903, allocations: 384 / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/4.903, allocations: 54.22 kB / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/4.903, allocations: 3.938 kB / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/4.903, allocations: 0 / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/4.903, allocations: 7.984 kB / 3.071 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/4.903, allocations: 19.92 kB / 3.071 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/4.904, allocations: 260.9 kB / 3.072 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/4.904, allocations: 22.58 kB / 3.072 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/4.904, allocations: 8.922 kB / 3.072 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/4.904, allocations: 89.09 kB / 3.072 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/4.904, allocations: 38.56 kB / 3.072 GB, free: 225.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/4.904, allocations: 4 kB / 3.072 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002197/4.904, allocations: 45.62 kB / 3.072 GB, free: 225.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/4.904, allocations: 51.41 kB / 3.072 GB, free: 225.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/4.904, allocations: 109.8 kB / 3.072 GB, free: 225.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/4.904, allocations: 25.7 kB / 3.072 GB, free: 225.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/4.904, allocations: 88.05 kB / 3.072 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/4.904, allocations: 7.906 kB / 3.072 GB, free: 225.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/4.904, allocations: 4.125 kB / 3.072 GB, free: 225.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/4.904, allocations: 314.8 kB / 3.072 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/4.904, allocations: 11.94 kB / 3.073 GB, free: 225.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/4.904, allocations: 18.58 kB / 3.073 GB, free: 225.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/4.904, allocations: 42.44 kB / 3.073 GB, free: 225.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/4.904, allocations: 0 / 3.073 GB, free: 225.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.362e-05/4.904, allocations: 53.62 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/4.904, allocations: 4 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/4.905, allocations: 8 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/4.905, allocations: 0 / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/4.905, allocations: 4 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/4.905, allocations: 7.938 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/4.905, allocations: 3.906 kB / 3.073 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/4.905, allocations: 8.031 kB / 3.073 GB, free: 225.1 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 5.964e-05/4.905, allocations: 117.8 kB / 3.073 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/4.905, allocations: 4 kB / 3.073 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/4.905, allocations: 7.109 kB / 3.073 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/4.905, allocations: 0 / 3.073 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/4.905, allocations: 0 / 3.073 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/4.905, allocations: 0 / 3.073 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/4.905, allocations: 367.5 kB / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/4.905, allocations: 4 kB / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/4.905, allocations: 0 / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/4.905, allocations: 4 kB / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/4.905, allocations: 0 / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/4.905, allocations: 0 / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/4.905, allocations: 0 / 3.073 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.835e-05/4.905, allocations: 81.98 kB / 3.073 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/4.905, allocations: 84.95 kB / 3.073 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/4.905, allocations: 0 / 3.073 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/4.905, allocations: 4 kB / 3.073 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/4.905, allocations: 3.938 kB / 3.073 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/4.905, allocations: 4 kB / 3.073 GB, free: 224.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.041e-05/4.905, allocations: 83.27 kB / 3.073 GB, free: 224.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/4.905, allocations: 0 / 3.073 GB, free: 224.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003054/4.906, allocations: 44.02 kB / 3.073 GB, free: 224.2 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.0006408/4.906, allocations: 0.5485 MB / 3.074 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/4.906, allocations: 15.92 kB / 3.074 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/4.906, allocations: 4 kB / 3.074 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/4.906, allocations: 0 / 3.074 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/4.907, allocations: 8 kB / 3.074 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/4.907, allocations: 134.2 kB / 3.074 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/4.907, allocations: 0.6809 MB / 3.075 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.934e-05/4.907, allocations: 7.984 kB / 3.075 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/4.907, allocations: 7.438 kB / 3.075 GB, free: 222.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.01e-07/4.907, allocations: 4 kB / 3.075 GB, free: 222.7 MB / 0.948 GB Notification: Performance of Templates: time 0.009305/4.917, allocations: 7.614 MB / 3.082 GB, free: 215.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)