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.001412/0.001412, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001467/0.001467, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.572/1.572, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.097/1.097, allocations: 135.2 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 68.3 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2106, allocations: 80.94 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5337/0.7443, allocations: 146.2 MB / 0.7267 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.7445, allocations: 59.95 kB / 0.7267 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.7446, allocations: 0 / 0.7267 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.7448, allocations: 6.453 kB / 0.7267 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.7449, allocations: 11.8 kB / 0.7267 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.7458, allocations: 198.8 kB / 0.7269 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7459, allocations: 37.55 kB / 0.727 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.746, allocations: 7.453 kB / 0.727 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.746, allocations: 14.78 kB / 0.727 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.7461, allocations: 14.42 kB / 0.727 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.7462, allocations: 1.031 kB / 0.727 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.7467, allocations: 205.9 kB / 0.7272 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.7468, allocations: 6.156 kB / 0.7272 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.7468, allocations: 18.88 kB / 0.7272 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.7471, allocations: 119.7 kB / 0.7273 GB, free: 2.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7472, allocations: 4 kB / 0.7273 GB, free: 2.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7472, allocations: 1.281 kB / 0.7273 GB, free: 2.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.7472, allocations: 0 / 0.7273 GB, free: 2.832 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.0006078/0.7478, allocations: 346.7 kB / 0.7277 GB, free: 2.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7479, allocations: 8.906 kB / 0.7277 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.7482, allocations: 25.03 kB / 0.7277 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7484, allocations: 166.8 kB / 0.7279 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.7485, allocations: 41.02 kB / 0.7279 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7485, allocations: 1.531 kB / 0.7279 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.7487, allocations: 48.3 kB / 0.7279 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7487, allocations: 0 / 0.7279 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7487, allocations: 2.047 kB / 0.7279 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.7488, allocations: 1.906 kB / 0.7279 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.7488, allocations: 21.42 kB / 0.728 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.7493, allocations: 259.6 kB / 0.7282 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.7494, allocations: 27.53 kB / 0.7282 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.7494, allocations: 8.734 kB / 0.7283 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.7496, allocations: 90.7 kB / 0.7283 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.7497, allocations: 32.23 kB / 0.7284 GB, free: 1.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7497, allocations: 4 kB / 0.7284 GB, free: 1.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002751/0.75, allocations: 51.47 kB / 0.7284 GB, free: 1.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.75, allocations: 57.23 kB / 0.7285 GB, free: 1.629 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7501, allocations: 106.4 kB / 0.7286 GB, free: 1.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.7502, allocations: 25.7 kB / 0.7286 GB, free: 1.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.7502, allocations: 94.61 kB / 0.7287 GB, free: 1.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.7503, allocations: 1.344 kB / 0.7287 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.7503, allocations: 22.83 kB / 0.7287 GB, free: 1.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7505, allocations: 318.5 kB / 0.729 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.7505, allocations: 3.672 kB / 0.729 GB, free: 1.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.7506, allocations: 21.19 kB / 0.729 GB, free: 1.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.7506, allocations: 32.3 kB / 0.7291 GB, free: 1.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7506, allocations: 4.516 kB / 0.7291 GB, free: 1 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.389e-05/0.7507, allocations: 56.94 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.7508, allocations: 8 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7508, allocations: 1.953 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7508, allocations: 1.344 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.7509, allocations: 6.438 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7509, allocations: 0.5625 kB / 0.7291 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.7509, allocations: 6.094 kB / 0.7292 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.7509, allocations: 2.188 kB / 0.7292 GB, free: 0.9531 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 9.675e-05/0.751, allocations: 113.9 kB / 0.7293 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.7511, allocations: 6.328 kB / 0.7293 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.7511, allocations: 11.72 kB / 0.7293 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7511, allocations: 2 kB / 0.7293 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7511, allocations: 1.75 kB / 0.7293 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7511, allocations: 4.641 kB / 0.7293 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.7515, allocations: 371.6 kB / 0.7296 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7515, allocations: 1.781 kB / 0.7296 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.7515, allocations: 3.219 kB / 0.7296 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.7515, allocations: 4.688 kB / 0.7297 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7516, allocations: 3.469 kB / 0.7297 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.7516, allocations: 5.156 kB / 0.7297 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7516, allocations: 0.7969 kB / 0.7297 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.7517, allocations: 70.84 kB / 0.7297 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.7517, allocations: 79 kB / 0.7298 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.7518, allocations: 5.125 kB / 0.7298 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.7519, allocations: 9 kB / 0.7298 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.7519, allocations: 1.062 kB / 0.7298 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.7519, allocations: 2.156 kB / 0.7298 GB, free: 236 kB / 0.545 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.7519, allocations: 84.92 kB / 0.7299 GB, free: 156 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7519, allocations: 0 / 0.7299 GB, free: 156 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001929/0.7522, allocations: 10.19 kB / 0.7299 GB, free: 152 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.000157/0.7523, allocations: 101.7 kB / 0.73 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.7524, allocations: 16.02 kB / 0.73 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7524, allocations: 1 kB / 0.73 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.7524, allocations: 8.109 kB / 0.73 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.7527, allocations: 9.719 kB / 0.73 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.7531, allocations: 121.4 kB / 0.7302 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.7534, allocations: 0.6802 MB / 0.7308 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.44e-05/0.7535, allocations: 9.578 kB / 0.7308 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.7535, allocations: 10.44 kB / 0.7308 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.7535, allocations: 3.938 kB / 0.7308 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.003537/0.7571, allocations: 0.5713 MB / 0.7314 GB, free: 15.14 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)