Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001656/0.001656, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7449/0.7449, allocations: 130.6 MB / 143.8 MB, free: 13.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 396.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009225, allocations: 97.36 kB / 479 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.998e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.989/5.196, allocations: 1.674 GB / 2.309 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/5.196, allocations: 71.78 kB / 2.309 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07509/5.271, allocations: 37.34 MB / 2.345 GB, free: 203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/5.271, allocations: 7.812 kB / 2.345 GB, free: 203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.678e-06/5.271, allocations: 0 / 2.345 GB, free: 203 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.0003575/5.272, allocations: 349.9 kB / 2.345 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/5.272, allocations: 11.91 kB / 2.345 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/5.272, allocations: 31.94 kB / 2.345 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/5.272, allocations: 159.1 kB / 2.346 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/5.272, allocations: 29.61 kB / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/5.272, allocations: 0 / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/5.272, allocations: 44.62 kB / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/5.273, allocations: 0 / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/5.273, allocations: 3.953 kB / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/5.273, allocations: 11.89 kB / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/5.273, allocations: 19.47 kB / 2.346 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/5.273, allocations: 247.8 kB / 2.346 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/5.273, allocations: 25.77 kB / 2.346 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/5.273, allocations: 8.812 kB / 2.346 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/5.273, allocations: 100.2 kB / 2.346 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/5.273, allocations: 30.56 kB / 2.346 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/5.273, allocations: 0 / 2.346 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002078/5.273, allocations: 48.88 kB / 2.346 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/5.274, allocations: 55.31 kB / 2.346 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/5.274, allocations: 92.89 kB / 2.346 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/5.274, allocations: 33.67 kB / 2.346 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/5.274, allocations: 91.52 kB / 2.346 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/5.274, allocations: 3.906 kB / 2.346 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/5.274, allocations: 0 / 2.346 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/5.274, allocations: 318.1 kB / 2.347 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/5.274, allocations: 3.906 kB / 2.347 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/5.274, allocations: 18.48 kB / 2.347 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/5.274, allocations: 19.31 kB / 2.347 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.274, allocations: 0 / 2.347 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.471e-05/5.274, allocations: 52.56 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/5.274, allocations: 9.578 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/5.274, allocations: 3.906 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/5.274, allocations: 0 / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/5.274, allocations: 7.891 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/5.274, allocations: 8 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/5.274, allocations: 3.938 kB / 2.347 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/5.274, allocations: 0 / 2.347 GB, free: 201.2 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 6.306e-05/5.274, allocations: 112.2 kB / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/5.274, allocations: 4.188 kB / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/5.274, allocations: 7.078 kB / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/5.274, allocations: 11.83 kB / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.274, allocations: 0 / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/5.274, allocations: 0 / 2.347 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/5.274, allocations: 366.6 kB / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/5.274, allocations: 0 / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/5.275, allocations: 3.906 kB / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/5.275, allocations: 0 / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/5.275, allocations: 3.906 kB / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/5.275, allocations: 4 kB / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/5.275, allocations: 0 / 2.347 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.536e-05/5.275, allocations: 94.5 kB / 2.347 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/5.275, allocations: 81.02 kB / 2.348 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/5.275, allocations: 0 / 2.348 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/5.275, allocations: 7.891 kB / 2.348 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/5.275, allocations: 3.906 kB / 2.348 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/5.275, allocations: 4.031 kB / 2.348 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.128e-05/5.275, allocations: 86.5 kB / 2.348 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.275, allocations: 0 / 2.348 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003419/5.275, allocations: 37.11 kB / 2.348 GB, free: 200.4 MB / 0.6823 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 () * 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.0007076/5.276, allocations: 0.5442 MB / 2.348 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.413e-05/5.276, allocations: 19.62 kB / 2.348 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/5.276, allocations: 0 / 2.348 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/5.276, allocations: 4.094 kB / 2.348 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/5.276, allocations: 13.84 kB / 2.348 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/5.276, allocations: 69.91 kB / 2.348 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/5.277, allocations: 0.6808 MB / 2.349 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.885e-05/5.277, allocations: 7.906 kB / 2.349 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/5.277, allocations: 11.42 kB / 2.349 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/5.277, allocations: 3.938 kB / 2.349 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.01173/5.288, allocations: 9.303 MB / 2.358 GB, free: 194.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)