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.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.434 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.00107/0.00107, allocations: 184.8 kB / 366.7 MB, free: 1.664 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.418/1.418, allocations: 205.2 MB / 0.626 GB, free: 7.113 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.0007782/0.0007782, allocations: 88.7 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.723e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.549, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.04/4.589, allocations: 2.054 GB / 3.027 GB, free: 77.16 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/4.59, allocations: 76.58 kB / 3.027 GB, free: 77.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06303/4.653, allocations: 36.73 MB / 3.063 GB, free: 40.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/4.653, allocations: 3.938 kB / 3.063 GB, free: 40.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.292e-06/4.653, allocations: 0 / 3.063 GB, free: 40.12 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.0002507/4.653, allocations: 338.5 kB / 3.063 GB, free: 39.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/4.653, allocations: 16.02 kB / 3.063 GB, free: 39.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/4.653, allocations: 30.47 kB / 3.063 GB, free: 39.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/4.653, allocations: 167.1 kB / 3.063 GB, free: 39.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/4.653, allocations: 25.7 kB / 3.063 GB, free: 39.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/4.653, allocations: 0 / 3.063 GB, free: 39.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.604e-05/4.653, allocations: 19.98 kB / 3.063 GB, free: 39.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.988e-05/4.654, allocations: 53.62 kB / 3.063 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/4.654, allocations: 3.938 kB / 3.063 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/4.654, allocations: 0 / 3.063 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/4.654, allocations: 7.938 kB / 3.063 GB, free: 39.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/4.654, allocations: 322.6 kB / 3.064 GB, free: 39.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.903e-05/4.654, allocations: 26.58 kB / 3.064 GB, free: 38.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/4.654, allocations: 4.859 kB / 3.064 GB, free: 38.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/4.654, allocations: 0 / 3.064 GB, free: 38.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/4.654, allocations: 30.56 kB / 3.064 GB, free: 38.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/4.654, allocations: 0 / 3.064 GB, free: 38.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001795/4.654, allocations: 49.64 kB / 3.064 GB, free: 38.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/4.654, allocations: 51.41 kB / 3.064 GB, free: 38.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/4.654, allocations: 97.03 kB / 3.064 GB, free: 38.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/4.654, allocations: 25.7 kB / 3.064 GB, free: 38.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/4.654, allocations: 103.9 kB / 3.064 GB, free: 38.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/4.654, allocations: 0 / 3.064 GB, free: 38.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/4.654, allocations: 0 / 3.064 GB, free: 38.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/4.654, allocations: 310.8 kB / 3.064 GB, free: 38.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/4.655, allocations: 4 kB / 3.064 GB, free: 38.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/4.655, allocations: 26.58 kB / 3.064 GB, free: 38.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/4.655, allocations: 7.984 kB / 3.064 GB, free: 38.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/4.655, allocations: 0 / 3.064 GB, free: 38.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.793e-05/4.655, allocations: 49.62 kB / 3.065 GB, free: 38.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/4.655, allocations: 4 kB / 3.065 GB, free: 38.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/4.655, allocations: 4 kB / 3.065 GB, free: 38.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/4.655, allocations: 0 / 3.065 GB, free: 38.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/4.655, allocations: 12.09 kB / 3.065 GB, free: 38.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/4.655, allocations: 7.953 kB / 3.065 GB, free: 38.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/4.655, allocations: 7.844 kB / 3.065 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/4.655, allocations: 0 / 3.065 GB, free: 38.12 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 4.449e-05/4.655, allocations: 105 kB / 3.065 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/4.655, allocations: 3.938 kB / 3.065 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/4.655, allocations: 3.75 kB / 3.065 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/4.655, allocations: 3.984 kB / 3.065 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/4.655, allocations: 4 kB / 3.065 GB, free: 38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/4.655, allocations: 11.89 kB / 3.065 GB, free: 37.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/4.655, allocations: 319.4 kB / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/4.655, allocations: 3.938 kB / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/4.655, allocations: 0 / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/4.655, allocations: 0 / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/4.655, allocations: 0 / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/4.655, allocations: 0 / 3.065 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/4.655, allocations: 7.891 kB / 3.065 GB, free: 37.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.566e-05/4.655, allocations: 65.16 kB / 3.065 GB, free: 37.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/4.655, allocations: 81.02 kB / 3.065 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/4.655, allocations: 0 / 3.065 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/4.655, allocations: 4 kB / 3.065 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-06/4.655, allocations: 0 / 3.065 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/4.655, allocations: 7.953 kB / 3.065 GB, free: 37.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.329e-05/4.655, allocations: 83.27 kB / 3.065 GB, free: 37.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/4.655, allocations: 4.031 kB / 3.065 GB, free: 37.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002255/4.656, allocations: 31.98 kB / 3.065 GB, free: 37.31 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005623/4.656, allocations: 0.6333 MB / 3.066 GB, free: 36.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.703e-05/4.656, allocations: 15.94 kB / 3.066 GB, free: 36.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/4.656, allocations: 0 / 3.066 GB, free: 36.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/4.656, allocations: 0 / 3.066 GB, free: 36.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/4.656, allocations: 10.91 kB / 3.066 GB, free: 36.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001356/4.657, allocations: 56.39 kB / 3.066 GB, free: 36.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/4.657, allocations: 0.6817 MB / 3.067 GB, free: 35.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.822e-05/4.657, allocations: 7.984 kB / 3.067 GB, free: 35.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/4.657, allocations: 7.438 kB / 3.067 GB, free: 35.86 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/4.657, allocations: 0 / 3.067 GB, free: 35.86 MB / 0.948 GB Notification: Performance of Templates: time 0.005295/4.662, allocations: 3.607 MB / 3.07 GB, free: 32.27 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)