Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7692/0.7692, allocations: 133.6 MB / 141.6 MB, free: 2.934 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 98.75 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.51e-05, allocations: 4 kB / 0.5534 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5019, allocations: 82.3 MB / 0.6338 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.292/4.794, allocations: 1.673 GB / 2.307 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/4.794, allocations: 75.52 kB / 2.307 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06594/4.86, allocations: 36.69 MB / 2.343 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/4.86, allocations: 0 / 2.343 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.542e-06/4.86, allocations: 4 kB / 2.343 GB, free: 32.82 MB / 0.6823 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.0002651/4.86, allocations: 342.4 kB / 2.343 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/4.861, allocations: 8.031 kB / 2.343 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/4.861, allocations: 35.83 kB / 2.344 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/4.861, allocations: 163.1 kB / 2.344 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/4.861, allocations: 25.7 kB / 2.344 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/4.861, allocations: 8 kB / 2.344 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.345e-05/4.861, allocations: 23.92 kB / 2.344 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/4.861, allocations: 37.69 kB / 2.344 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/4.861, allocations: 0 / 2.344 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/4.861, allocations: 3.953 kB / 2.344 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/4.861, allocations: 4 kB / 2.344 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/4.862, allocations: 330.6 kB / 2.344 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.883e-05/4.862, allocations: 14.58 kB / 2.344 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/4.862, allocations: 12.86 kB / 2.344 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/4.862, allocations: 0 / 2.344 GB, free: 31.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/4.862, allocations: 30.56 kB / 2.344 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/4.862, allocations: 0 / 2.344 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001821/4.862, allocations: 45.64 kB / 2.344 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/4.862, allocations: 51.41 kB / 2.344 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/4.862, allocations: 101 kB / 2.344 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/4.862, allocations: 29.64 kB / 2.344 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/4.862, allocations: 95.95 kB / 2.344 GB, free: 31.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/4.862, allocations: 3.938 kB / 2.344 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/4.862, allocations: 0 / 2.344 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/4.862, allocations: 310.8 kB / 2.345 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/4.862, allocations: 12.03 kB / 2.345 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/4.862, allocations: 22.56 kB / 2.345 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/4.862, allocations: 7.938 kB / 2.345 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/4.862, allocations: 0 / 2.345 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.86e-05/4.862, allocations: 49.69 kB / 2.345 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/4.862, allocations: 8.875 kB / 2.345 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/4.862, allocations: 3.938 kB / 2.345 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/4.862, allocations: 4.094 kB / 2.345 GB, free: 30.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/4.862, allocations: 16.12 kB / 2.345 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/4.862, allocations: 0 / 2.345 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/4.862, allocations: 11.91 kB / 2.345 GB, free: 30.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/4.862, allocations: 0 / 2.345 GB, free: 30.81 MB / 0.6823 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.029e-05/4.862, allocations: 101 kB / 2.345 GB, free: 30.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/4.862, allocations: 7.984 kB / 2.345 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/4.862, allocations: 7.75 kB / 2.345 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/4.863, allocations: 0 / 2.345 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/4.863, allocations: 3.953 kB / 2.345 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/4.863, allocations: 0 / 2.345 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/4.863, allocations: 323.3 kB / 2.345 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/4.863, allocations: 0 / 2.345 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/4.863, allocations: 4 kB / 2.345 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/4.863, allocations: 0 / 2.345 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/4.863, allocations: 0 / 2.345 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/4.863, allocations: 11.97 kB / 2.345 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/4.863, allocations: 0 / 2.345 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.08e-05/4.863, allocations: 57.14 kB / 2.345 GB, free: 30.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/4.863, allocations: 81.02 kB / 2.345 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/4.863, allocations: 0 / 2.345 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/4.863, allocations: 7.984 kB / 2.345 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/4.863, allocations: 3.953 kB / 2.345 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/4.863, allocations: 4.031 kB / 2.345 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.389e-05/4.863, allocations: 87.22 kB / 2.346 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/4.863, allocations: 0 / 2.346 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002415/4.863, allocations: 31.98 kB / 2.346 GB, free: 30.01 MB / 0.6823 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.0005424/4.864, allocations: 0.6353 MB / 2.346 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/4.864, allocations: 8 kB / 2.346 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/4.864, allocations: 0 / 2.346 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-06/4.864, allocations: 4 kB / 2.346 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/4.864, allocations: 4.25 kB / 2.346 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001334/4.864, allocations: 64.36 kB / 2.346 GB, free: 29.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/4.864, allocations: 0.6807 MB / 2.347 GB, free: 28.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.166e-05/4.864, allocations: 4 kB / 2.347 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/4.864, allocations: 11.38 kB / 2.347 GB, free: 28.54 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/4.864, allocations: 0 / 2.347 GB, free: 28.54 MB / 0.6823 GB Notification: Performance of Templates: time 0.005427/4.87, allocations: 3.654 MB / 2.351 GB, free: 24.89 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)