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.01106/0.01106, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9089/0.9089, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.643/1.643, allocations: 223.2 MB / 406.9 MB, free: 3.195 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.0009389/0.0009389, allocations: 96 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005052, allocations: 12 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5443, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.595/5.139, allocations: 1.674 GB / 2.324 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.14, allocations: 75.95 kB / 2.324 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06588/5.205, allocations: 37.39 MB / 2.36 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/5.205, allocations: 0 / 2.36 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.766e-06/5.206, allocations: 0 / 2.36 GB, free: 6.797 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.0003476/5.206, allocations: 345.7 kB / 2.361 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/5.206, allocations: 12.03 kB / 2.361 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/5.206, allocations: 31.83 kB / 2.361 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/5.206, allocations: 163.1 kB / 2.361 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/5.206, allocations: 29.7 kB / 2.361 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/5.206, allocations: 0 / 2.361 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/5.207, allocations: 49.67 kB / 2.361 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/5.207, allocations: 0 / 2.361 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/5.207, allocations: 0 / 2.361 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/5.207, allocations: 7.953 kB / 2.361 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/5.207, allocations: 23.92 kB / 2.361 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/5.207, allocations: 253 kB / 2.361 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/5.207, allocations: 22.56 kB / 2.361 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/5.207, allocations: 97.16 kB / 2.361 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/5.207, allocations: 38.45 kB / 2.361 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/5.207, allocations: 0 / 2.361 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/5.208, allocations: 57.72 kB / 2.361 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/5.208, allocations: 51.41 kB / 2.361 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/5.208, allocations: 89 kB / 2.361 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/5.208, allocations: 29.7 kB / 2.361 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/5.208, allocations: 96.02 kB / 2.362 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/5.208, allocations: 11.78 kB / 2.362 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/5.208, allocations: 0 / 2.362 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/5.208, allocations: 314.8 kB / 2.362 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/5.208, allocations: 8.031 kB / 2.362 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/5.208, allocations: 22.56 kB / 2.362 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/5.208, allocations: 12 kB / 2.362 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/5.208, allocations: 0 / 2.362 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.661e-05/5.208, allocations: 53.62 kB / 2.362 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/5.208, allocations: 4.094 kB / 2.362 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/5.208, allocations: 7.938 kB / 2.362 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/5.208, allocations: 3.953 kB / 2.362 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/5.208, allocations: 8 kB / 2.362 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/5.208, allocations: 0 / 2.362 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/5.208, allocations: 7.906 kB / 2.362 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/5.208, allocations: 0 / 2.362 GB, free: 4.742 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 () * 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 6.548e-05/5.208, allocations: 117.8 kB / 2.362 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/5.208, allocations: 0 / 2.362 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/5.208, allocations: 3.125 kB / 2.362 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/5.208, allocations: 7.953 kB / 2.362 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/5.208, allocations: 0 / 2.362 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/5.208, allocations: 4.281 kB / 2.362 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/5.209, allocations: 359.6 kB / 2.362 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/5.209, allocations: 4 kB / 2.362 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/5.209, allocations: 4 kB / 2.362 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/5.209, allocations: 7.938 kB / 2.362 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/5.209, allocations: 4.062 kB / 2.362 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/5.209, allocations: 0 / 2.362 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/5.209, allocations: 4 kB / 2.362 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.938e-05/5.209, allocations: 79.64 kB / 2.363 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/5.209, allocations: 92.91 kB / 2.363 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/5.209, allocations: 4 kB / 2.363 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/5.209, allocations: 12.02 kB / 2.363 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/5.209, allocations: 0 / 2.363 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/5.209, allocations: 0 / 2.363 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.28e-05/5.209, allocations: 79.28 kB / 2.363 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.209, allocations: 0 / 2.363 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003257/5.209, allocations: 39.98 kB / 2.363 GB, free: 3.82 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 () * 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.0006386/5.21, allocations: 0.5515 MB / 2.363 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.035e-05/5.21, allocations: 19.94 kB / 2.363 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/5.21, allocations: 0 / 2.363 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/5.21, allocations: 4 kB / 2.363 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/5.21, allocations: 11.95 kB / 2.363 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/5.21, allocations: 125.7 kB / 2.363 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/5.211, allocations: 0.6809 MB / 2.364 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.021e-05/5.211, allocations: 4 kB / 2.364 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/5.211, allocations: 11.44 kB / 2.364 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/5.211, allocations: 0 / 2.364 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of Templates: time 0.4198/5.631, allocations: 7.638 MB / 2.372 GB, free: 246.7 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)