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.0008522/0.0008522, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006621/0.006621, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 82.31 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5027/0.6835, allocations: 144.1 MB / 0.7287 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.6837, allocations: 52.33 kB / 0.7288 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.6837, allocations: 4.5 kB / 0.7288 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.6839, allocations: 0.75 kB / 0.7288 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.684, allocations: 18.09 kB / 0.7288 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.6849, allocations: 192.9 kB / 0.729 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.685, allocations: 69.39 kB / 0.729 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.685, allocations: 1.891 kB / 0.729 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.6851, allocations: 11.64 kB / 0.7291 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.6852, allocations: 17.95 kB / 0.7291 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6852, allocations: 1.062 kB / 0.7291 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.6857, allocations: 230.9 kB / 0.7293 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.6858, allocations: 5.578 kB / 0.7293 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.6859, allocations: 36.94 kB / 0.7293 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.6862, allocations: 124.1 kB / 0.7295 GB, free: 2.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.6862, allocations: 4 kB / 0.7295 GB, free: 2.992 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6862, allocations: 0 / 0.7295 GB, free: 2.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6862, allocations: 1.156 kB / 0.7295 GB, free: 2.992 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.000425/0.6866, allocations: 340.7 kB / 0.7298 GB, free: 2.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6867, allocations: 9.781 kB / 0.7298 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.687, allocations: 23.14 kB / 0.7298 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.6871, allocations: 168.4 kB / 0.73 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.6872, allocations: 36.25 kB / 0.73 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.6872, allocations: 1.156 kB / 0.73 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.6874, allocations: 53.7 kB / 0.7301 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6874, allocations: 0 / 0.7301 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6874, allocations: 0 / 0.7301 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6874, allocations: 2.859 kB / 0.7301 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.6875, allocations: 21.06 kB / 0.7301 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.6878, allocations: 263.2 kB / 0.7303 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.6879, allocations: 28.89 kB / 0.7304 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.6879, allocations: 7.891 kB / 0.7304 GB, free: 2.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.6881, allocations: 91.38 kB / 0.7305 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6881, allocations: 35.66 kB / 0.7305 GB, free: 1.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6881, allocations: 0 / 0.7305 GB, free: 1.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002392/0.6884, allocations: 60.47 kB / 0.7305 GB, free: 1.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6884, allocations: 57.3 kB / 0.7306 GB, free: 1.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.6885, allocations: 101.5 kB / 0.7307 GB, free: 1.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6885, allocations: 26.8 kB / 0.7307 GB, free: 1.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.6886, allocations: 95.16 kB / 0.7308 GB, free: 1.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.6886, allocations: 2.797 kB / 0.7308 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.6886, allocations: 10.88 kB / 0.7308 GB, free: 1.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6887, allocations: 321 kB / 0.7311 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.6888, allocations: 4.156 kB / 0.7311 GB, free: 1.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.6888, allocations: 21.3 kB / 0.7312 GB, free: 1.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.6889, allocations: 31.97 kB / 0.7312 GB, free: 1.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6889, allocations: 5.188 kB / 0.7312 GB, free: 1.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.97e-05/0.689, allocations: 57.28 kB / 0.7312 GB, free: 1.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.689, allocations: 4.969 kB / 0.7313 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.689, allocations: 1.156 kB / 0.7313 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.689, allocations: 1.125 kB / 0.7313 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.6891, allocations: 11.59 kB / 0.7313 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6891, allocations: 1.031 kB / 0.7313 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.6891, allocations: 10.09 kB / 0.7313 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6891, allocations: 1.969 kB / 0.7313 GB, free: 1.102 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 8.712e-05/0.6892, allocations: 113.6 kB / 0.7314 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.6893, allocations: 1.188 kB / 0.7314 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.6893, allocations: 9.141 kB / 0.7314 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6893, allocations: 1.375 kB / 0.7314 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6893, allocations: 0.9375 kB / 0.7314 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6893, allocations: 3.938 kB / 0.7314 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.6896, allocations: 360.1 kB / 0.7317 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6896, allocations: 1.031 kB / 0.7317 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.6897, allocations: 2.5 kB / 0.7317 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.6897, allocations: 5.953 kB / 0.7318 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.6897, allocations: 6.844 kB / 0.7318 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6897, allocations: 1.094 kB / 0.7318 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6897, allocations: 0 / 0.7318 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/0.6898, allocations: 78.45 kB / 0.7318 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.6898, allocations: 79.02 kB / 0.7319 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.6899, allocations: 7.172 kB / 0.7319 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.69, allocations: 4.75 kB / 0.7319 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.69, allocations: 2.297 kB / 0.7319 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.69, allocations: 5.188 kB / 0.7319 GB, free: 400 kB / 0.545 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.6901, allocations: 83.88 kB / 0.732 GB, free: 320 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6901, allocations: 0 / 0.732 GB, free: 320 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001938/0.6903, allocations: 11.09 kB / 0.732 GB, free: 316 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.0001319/0.6904, allocations: 105.3 kB / 0.7321 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.6905, allocations: 11.52 kB / 0.7321 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6905, allocations: 0 / 0.7321 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.6905, allocations: 12.75 kB / 0.7321 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.6908, allocations: 8.875 kB / 0.7322 GB, free: 208 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.691, allocations: 139.6 kB / 0.7323 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.6913, allocations: 0.6766 MB / 0.7329 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.6914, allocations: 14.42 kB / 0.733 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.6914, allocations: 9.469 kB / 0.733 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6914, allocations: 0 / 0.733 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.002924/0.6944, allocations: 0.5423 MB / 0.7335 GB, free: 15.29 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)