Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2945/0.2945, allocations: 54.42 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001195/0.001195, allocations: 184.1 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.714/1.714, allocations: 194.3 MB / 283.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 117.6 kB / 341.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.054e-05, allocations: 3.938 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4121, allocations: 57.65 MB / 463.1 MB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.425, allocations: 2.112 GB / 2.564 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/6.426, allocations: 71.72 kB / 2.564 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5055/6.931, allocations: 35.89 MB / 2.599 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.867e-06/6.932, allocations: 2.969 kB / 2.599 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.738e-06/6.932, allocations: 0 / 2.599 GB, free: 166.1 MB / 0.4948 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.0003929/6.932, allocations: 336.3 kB / 2.6 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/6.932, allocations: 5.781 kB / 2.6 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/6.932, allocations: 30.97 kB / 2.6 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/6.932, allocations: 166.9 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/6.933, allocations: 25.7 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/6.933, allocations: 0 / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001264/6.933, allocations: 22.12 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/6.933, allocations: 48.38 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/6.933, allocations: 0 / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/6.933, allocations: 1.375 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/6.933, allocations: 3.938 kB / 2.6 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/6.934, allocations: 328.2 kB / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.429e-05/6.934, allocations: 19.84 kB / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/6.934, allocations: 10.27 kB / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/6.934, allocations: 2.188 kB / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/6.934, allocations: 38.34 kB / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/6.934, allocations: 0 / 2.6 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002463/6.934, allocations: 37.45 kB / 2.6 GB, free: 165 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/6.934, allocations: 55.06 kB / 2.601 GB, free: 165 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/6.934, allocations: 94.38 kB / 2.601 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/6.934, allocations: 29.64 kB / 2.601 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/6.934, allocations: 96.12 kB / 2.601 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/6.934, allocations: 1.969 kB / 2.601 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/6.934, allocations: 2.5 kB / 2.601 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/6.934, allocations: 312.1 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/6.934, allocations: 3.781 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/6.934, allocations: 25.81 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/6.934, allocations: 10.22 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/6.934, allocations: 0 / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.849e-05/6.934, allocations: 47.78 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/6.934, allocations: 9.516 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/6.935, allocations: 7.25 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/6.935, allocations: 2.344 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/6.935, allocations: 8.969 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/6.935, allocations: 1.188 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/6.935, allocations: 8.188 kB / 2.601 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/6.935, allocations: 3.188 kB / 2.601 GB, free: 164.4 MB / 0.4948 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 6.523e-05/6.935, allocations: 104.3 kB / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/6.935, allocations: 1.75 kB / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/6.935, allocations: 11.11 kB / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/6.935, allocations: 0 / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/6.935, allocations: 0 / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/6.935, allocations: 4.656 kB / 2.601 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/6.935, allocations: 324 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/6.935, allocations: 1.188 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/6.935, allocations: 1.406 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/6.935, allocations: 5.234 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/6.935, allocations: 0 / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/6.935, allocations: 3.312 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/6.935, allocations: 1.344 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.383e-05/6.935, allocations: 55.89 kB / 2.602 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/6.935, allocations: 78.33 kB / 2.602 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/6.935, allocations: 5.328 kB / 2.602 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/6.935, allocations: 6.5 kB / 2.602 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/6.935, allocations: 2.281 kB / 2.602 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/6.935, allocations: 1.594 kB / 2.602 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.828e-05/6.935, allocations: 86.09 kB / 2.602 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.935, allocations: 3.75 kB / 2.602 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002989/6.936, allocations: 34.53 kB / 2.602 GB, free: 163.7 MB / 0.4948 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.001043/6.937, allocations: 0.6397 MB / 2.602 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.878e-05/6.937, allocations: 9.344 kB / 2.602 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/6.937, allocations: 1 kB / 2.603 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/6.937, allocations: 1.062 kB / 2.603 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/6.937, allocations: 9.031 kB / 2.603 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/6.937, allocations: 53.67 kB / 2.603 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/6.938, allocations: 0.684 MB / 2.603 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.135e-05/6.938, allocations: 5.906 kB / 2.603 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/6.938, allocations: 11.94 kB / 2.603 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/6.938, allocations: 0 / 2.603 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.008421/6.946, allocations: 3.59 MB / 2.607 GB, free: 162.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)