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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9499/0.9499, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.28 kB / 0.5047 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2053, allocations: 80.92 MB / 0.5837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5535/0.7589, allocations: 146 MB / 0.7263 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.7591, allocations: 58 kB / 0.7263 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.7592, allocations: 0 / 0.7263 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.7593, allocations: 5.969 kB / 0.7263 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.7595, allocations: 13.8 kB / 0.7263 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.7604, allocations: 196.7 kB / 0.7265 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.7605, allocations: 61.81 kB / 0.7266 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.7606, allocations: 6.172 kB / 0.7266 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.7606, allocations: 15.14 kB / 0.7266 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.7607, allocations: 17.91 kB / 0.7266 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.7608, allocations: 1.188 kB / 0.7266 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.7614, allocations: 226.5 kB / 0.7268 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.7614, allocations: 10.83 kB / 0.7269 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.7615, allocations: 13.67 kB / 0.7269 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.7618, allocations: 128 kB / 0.727 GB, free: 3.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7619, allocations: 0.5156 kB / 0.727 GB, free: 3.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7619, allocations: 1.156 kB / 0.727 GB, free: 3.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7619, allocations: 0 / 0.727 GB, free: 3.105 MB / 0.545 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.0004668/0.7624, allocations: 342.8 kB / 0.7273 GB, free: 2.746 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7624, allocations: 12.94 kB / 0.7273 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.7627, allocations: 22.73 kB / 0.7274 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7628, allocations: 164.5 kB / 0.7275 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.7629, allocations: 36.52 kB / 0.7275 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.7629, allocations: 2.5 kB / 0.7275 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7631, allocations: 53.33 kB / 0.7276 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7631, allocations: 0 / 0.7276 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7632, allocations: 1.062 kB / 0.7276 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.7632, allocations: 2.781 kB / 0.7276 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.7633, allocations: 20.73 kB / 0.7276 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.7636, allocations: 263.8 kB / 0.7279 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.7637, allocations: 29 kB / 0.7279 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.7637, allocations: 7.812 kB / 0.7279 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.7639, allocations: 94.94 kB / 0.728 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.7639, allocations: 41.2 kB / 0.728 GB, free: 2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.764, allocations: 0 / 0.728 GB, free: 2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002372/0.7642, allocations: 47.75 kB / 0.7281 GB, free: 1.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7642, allocations: 52.56 kB / 0.7281 GB, free: 1.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.7643, allocations: 106.2 kB / 0.7282 GB, free: 1.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7643, allocations: 25.7 kB / 0.7283 GB, free: 1.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.7644, allocations: 98.23 kB / 0.7284 GB, free: 1.668 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.7644, allocations: 1.875 kB / 0.7284 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.7645, allocations: 23.73 kB / 0.7284 GB, free: 1.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7646, allocations: 317.4 kB / 0.7287 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.7646, allocations: 4.016 kB / 0.7287 GB, free: 1.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.7646, allocations: 25.73 kB / 0.7287 GB, free: 1.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.7647, allocations: 32.19 kB / 0.7287 GB, free: 1.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7647, allocations: 3.938 kB / 0.7287 GB, free: 1.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.552e-05/0.7648, allocations: 54.02 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7648, allocations: 7.062 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7648, allocations: 4.531 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.7648, allocations: 1.281 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.7649, allocations: 6.547 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7649, allocations: 1.219 kB / 0.7288 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.7649, allocations: 6.016 kB / 0.7288 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.765, allocations: 10.22 kB / 0.7288 GB, free: 1.215 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.765, allocations: 108.1 kB / 0.7289 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.7651, allocations: 2.281 kB / 0.7289 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.7651, allocations: 12.83 kB / 0.7289 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7651, allocations: 0.7969 kB / 0.7289 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7651, allocations: 1.125 kB / 0.729 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7651, allocations: 3.938 kB / 0.729 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.7654, allocations: 368.1 kB / 0.7293 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7654, allocations: 0 / 0.7293 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.7654, allocations: 3.969 kB / 0.7293 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7655, allocations: 5.812 kB / 0.7293 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.7655, allocations: 1.125 kB / 0.7293 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7655, allocations: 0 / 0.7293 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7655, allocations: 1.062 kB / 0.7293 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.428e-05/0.7656, allocations: 74.58 kB / 0.7294 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.7656, allocations: 78.81 kB / 0.7295 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.7656, allocations: 6.688 kB / 0.7295 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.7657, allocations: 4.25 kB / 0.7295 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.7658, allocations: 1.922 kB / 0.7295 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.7658, allocations: 1.125 kB / 0.7295 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.7658, allocations: 84.8 kB / 0.7296 GB, free: 436 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7658, allocations: 4.031 kB / 0.7296 GB, free: 432 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001879/0.766, allocations: 7 kB / 0.7296 GB, free: 432 kB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.7662, allocations: 99.39 kB / 0.7297 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.7662, allocations: 19.47 kB / 0.7297 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7663, allocations: 0 / 0.7297 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.7663, allocations: 5.328 kB / 0.7297 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.7665, allocations: 11.89 kB / 0.7297 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.7668, allocations: 130.5 kB / 0.7298 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7671, allocations: 0.6765 MB / 0.7305 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.193e-05/0.7671, allocations: 13.34 kB / 0.7305 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.7671, allocations: 9.562 kB / 0.7305 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.7672, allocations: 0 / 0.7305 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.002762/0.7699, allocations: 0.5627 MB / 0.7311 GB, free: 15.41 MB / 0.5606 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)