Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008482/0.0008481, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8345/0.8345, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002938, allocations: 8 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.4175/0.5671, allocations: 193.8 MB / 0.7765 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.5862, allocations: 14.76 MB / 0.7909 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.5884, allocations: 75.5 kB / 0.7909 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.5914, allocations: 1.131 MB / 0.7921 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008206/0.5996, allocations: 3.294 MB / 0.7953 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005413/0.605, allocations: 2.108 MB / 0.7973 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005418/0.6105, allocations: 2.924 MB / 0.8002 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.6126, allocations: 1.399 MB / 0.8015 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.6166, allocations: 1.92 MB / 0.8034 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.6184, allocations: 1.058 MB / 0.8045 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.6186, allocations: 84 kB / 0.8045 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.6224, allocations: 1.782 MB / 0.8063 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.623, allocations: 0.5763 MB / 0.8068 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.6236, allocations: 456.5 kB / 0.8073 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.627, allocations: 2.825 MB / 0.81 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.627, allocations: 4 kB / 0.81 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.472e-06/0.627, allocations: 4 kB / 0.81 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.6271, allocations: 0 / 0.81 GB, free: 8.27 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003907/0.631, allocations: 2.405 MB / 0.8124 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.631, allocations: 12.03 kB / 0.8124 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.6354, allocations: 0.8205 MB / 0.8132 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.6384, allocations: 1.619 MB / 0.8148 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.6388, allocations: 174.5 kB / 0.8149 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.639, allocations: 136 kB / 0.8151 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.6419, allocations: 1.649 MB / 0.8167 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.6419, allocations: 7.938 kB / 0.8167 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.642, allocations: 52 kB / 0.8167 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.6421, allocations: 50.5 kB / 0.8168 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.6451, allocations: 1.489 MB / 0.8182 GB, free: 15.67 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009655/0.6548, allocations: 7.687 MB / 0.8258 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.6574, allocations: 1.669 MB / 0.8274 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.6585, allocations: 0.6362 MB / 0.828 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.6596, allocations: 0.5727 MB / 0.8286 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006469/0.6603, allocations: 119.2 kB / 0.8287 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.6603, allocations: 0 / 0.8287 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.003737/0.664, allocations: 1.662 MB / 0.8303 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6641, allocations: 72.41 kB / 0.8304 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.666, allocations: 1.576 MB / 0.8319 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.6661, allocations: 41.7 kB / 0.832 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/0.6669, allocations: 0.9165 MB / 0.8328 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.6672, allocations: 311.6 kB / 0.8331 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.6673, allocations: 20 kB / 0.8332 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6674, allocations: 345.9 kB / 0.8335 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/0.6684, allocations: 450.4 kB / 0.8339 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.6696, allocations: 0.785 MB / 0.8347 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.6707, allocations: 0.559 MB / 0.8352 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6707, allocations: 4 kB / 0.8352 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002727/0.6735, allocations: 1.43 MB / 0.8366 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001147/0.6746, allocations: 3.301 MB / 0.8399 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6747, allocations: 12 kB / 0.8399 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.6747, allocations: 16 kB / 0.8399 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6758, allocations: 283.6 kB / 0.8402 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6758, allocations: 23.92 kB / 0.8402 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.6774, allocations: 170.1 kB / 0.8403 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.6775, allocations: 47.98 kB / 0.8404 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.6775, allocations: 4 kB / 0.8404 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0024/0.6799, allocations: 1.251 MB / 0.8416 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6799, allocations: 8 kB / 0.8416 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.68, allocations: 16 kB / 0.8416 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.681, allocations: 285.6 kB / 0.8419 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.681, allocations: 15.98 kB / 0.8419 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6825, allocations: 171.5 kB / 0.8421 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.6826, allocations: 55.94 kB / 0.8421 GB, free: 5.852 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0008185/0.6834, allocations: 0.5358 MB / 0.8427 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.6837, allocations: 177.8 kB / 0.8428 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.6863, allocations: 1.209 MB / 0.844 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6864, allocations: 11.95 kB / 0.844 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6864, allocations: 0 / 0.844 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002138/0.6885, allocations: 1.274 MB / 0.8453 GB, free: 2.535 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.6939, allocations: 3.042 MB / 0.8482 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.694, allocations: 7.953 kB / 0.8482 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009445/0.6949, allocations: 203.8 kB / 0.8484 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.6951, allocations: 52.77 kB / 0.8485 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.6952, allocations: 23.98 kB / 0.8485 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.6965, allocations: 1.43 MB / 0.8499 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.6965, allocations: 4.031 kB / 0.8499 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.7, allocations: 1.897 MB / 0.8518 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.7008, allocations: 362.6 kB / 0.8521 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.7011, allocations: 16 kB / 0.8521 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.7025, allocations: 155.8 kB / 0.8523 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7026, allocations: 64.91 kB / 0.8523 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.7027, allocations: 27.98 kB / 0.8524 GB, free: 10.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001649/0.7043, allocations: 1.069 MB / 0.8534 GB, free: 9.805 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7043, allocations: 0 / 0.8534 GB, free: 9.805 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002774/0.7071, allocations: 0.978 MB / 0.8544 GB, free: 8.824 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.7085, allocations: 0.6015 MB / 0.8549 GB, free: 8.383 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.7122, allocations: 1.824 MB / 0.8567 GB, free: 6.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7122, allocations: 4.125 kB / 0.8567 GB, free: 6.539 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.7134, allocations: 0.6298 MB / 0.8573 GB, free: 5.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.7168, allocations: 0.7842 MB / 0.8581 GB, free: 5.113 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007852/0.7246, allocations: 4.407 MB / 0.8624 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2373/0.962, allocations: 1.531 MB / 0.8639 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001997/0.964, allocations: 445.3 kB / 0.8643 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9644, allocations: 136.7 kB / 0.8645 GB, free: 212.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/0.9644, allocations: 2.844 kB / 0.8645 GB, free: 212.3 MB / 0.67 GB Notification: Performance of Templates: time 0.04725/1.012, allocations: 30.25 MB / 0.894 GB, free: 210.1 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: