Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001031/0.001031, 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.0008526/0.0008526, 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8365/0.8365, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 11.98 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, 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.411/0.5534, allocations: 193.8 MB / 0.7764 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.5726, allocations: 14.78 MB / 0.7909 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.575, allocations: 71.5 kB / 0.7909 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.5782, allocations: 1.133 MB / 0.7921 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.5868, allocations: 3.294 MB / 0.7953 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005157/0.592, allocations: 2.113 MB / 0.7973 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004858/0.5968, allocations: 2.924 MB / 0.8002 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.5987, allocations: 1.406 MB / 0.8016 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.6024, allocations: 1.92 MB / 0.8034 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.6039, allocations: 1.054 MB / 0.8045 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6041, allocations: 83.98 kB / 0.8045 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.6078, allocations: 1.786 MB / 0.8063 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.6084, allocations: 0.5685 MB / 0.8068 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.6088, allocations: 460.5 kB / 0.8073 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.6118, allocations: 2.829 MB / 0.81 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6118, allocations: 0 / 0.81 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6118, allocations: 0 / 0.81 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.244e-05/0.6118, allocations: 4 kB / 0.8101 GB, free: 8.258 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.003767/0.6156, allocations: 2.404 MB / 0.8124 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.6157, allocations: 8.031 kB / 0.8124 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.62, allocations: 0.8244 MB / 0.8132 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.6228, allocations: 1.611 MB / 0.8148 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.6232, allocations: 174.5 kB / 0.815 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.6234, allocations: 140 kB / 0.8151 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.6261, allocations: 1.653 MB / 0.8167 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.6261, allocations: 3.938 kB / 0.8167 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6263, allocations: 56 kB / 0.8168 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.6263, allocations: 50.52 kB / 0.8168 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.6293, allocations: 1.493 MB / 0.8183 GB, free: 15.65 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.009024/0.6384, allocations: 7.676 MB / 0.8258 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.6409, allocations: 1.666 MB / 0.8274 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.6419, allocations: 0.6401 MB / 0.828 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.643, allocations: 0.5634 MB / 0.8286 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005903/0.6436, allocations: 127.2 kB / 0.8287 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 2.855e-06/0.6436, allocations: 0 / 0.8287 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.003615/0.6473, allocations: 1.661 MB / 0.8303 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6473, allocations: 64.34 kB / 0.8304 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.6491, allocations: 1.588 MB / 0.8319 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.6492, allocations: 45.7 kB / 0.832 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006477/0.6498, allocations: 0.9126 MB / 0.8328 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.6501, allocations: 307.6 kB / 0.8331 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.6501, allocations: 20 kB / 0.8332 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6502, allocations: 345.9 kB / 0.8335 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/0.6512, allocations: 446.4 kB / 0.8339 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.6523, allocations: 0.785 MB / 0.8347 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6534, allocations: 0.5628 MB / 0.8352 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6534, allocations: 4 kB / 0.8352 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002539/0.6559, allocations: 1.434 MB / 0.8366 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.657, allocations: 3.3 MB / 0.8399 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.657, allocations: 8 kB / 0.8399 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.657, allocations: 19.98 kB / 0.8399 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6581, allocations: 283.6 kB / 0.8402 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.6581, allocations: 23.92 kB / 0.8402 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6596, allocations: 156.4 kB / 0.8403 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.6597, allocations: 51.98 kB / 0.8404 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/0.6597, allocations: 4 kB / 0.8404 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002297/0.662, allocations: 1.255 MB / 0.8416 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.662, allocations: 8 kB / 0.8416 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.662, allocations: 12 kB / 0.8416 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6631, allocations: 284 kB / 0.8419 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.6631, allocations: 16 kB / 0.8419 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.6645, allocations: 167.2 kB / 0.8421 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.6646, allocations: 59.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.0008197/0.6654, allocations: 0.5241 MB / 0.8426 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6656, allocations: 185.7 kB / 0.8428 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6681, allocations: 1.216 MB / 0.844 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6681, allocations: 19.94 kB / 0.844 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6681, allocations: 4 kB / 0.844 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/0.6702, allocations: 1.27 MB / 0.8453 GB, free: 2.523 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.00506/0.6753, allocations: 3.034 MB / 0.8482 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6753, allocations: 7.953 kB / 0.8482 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/0.6762, allocations: 207.9 kB / 0.8484 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.6764, allocations: 48.77 kB / 0.8485 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.6765, allocations: 23.98 kB / 0.8485 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.6776, allocations: 1.439 MB / 0.8499 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6776, allocations: 4 kB / 0.8499 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.6809, allocations: 1.893 MB / 0.8518 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.6816, allocations: 354.9 kB / 0.8521 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.6818, allocations: 20 kB / 0.8521 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6829, allocations: 155.8 kB / 0.8523 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6831, allocations: 68.89 kB / 0.8523 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.6832, allocations: 35.73 kB / 0.8524 GB, free: 10.89 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001349/0.6845, allocations: 1.069 MB / 0.8534 GB, free: 9.793 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6845, allocations: 0 / 0.8534 GB, free: 9.793 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002308/0.6868, allocations: 0.9702 MB / 0.8544 GB, free: 8.82 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.001549/0.6884, allocations: 0.6029 MB / 0.855 GB, free: 8.383 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003774/0.6922, allocations: 1.824 MB / 0.8567 GB, free: 6.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6922, allocations: 0.6875 kB / 0.8567 GB, free: 6.543 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6934, allocations: 0.6337 MB / 0.8574 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.003245/0.6967, allocations: 0.7857 MB / 0.8581 GB, free: 5.109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/0.7038, allocations: 4.404 MB / 0.8624 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.257/0.9608, allocations: 1.531 MB / 0.8639 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00194/0.9628, allocations: 447.7 kB / 0.8643 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.9632, allocations: 138.5 kB / 0.8645 GB, free: 212.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/0.9632, allocations: 0 / 0.8645 GB, free: 212.7 MB / 0.67 GB Notification: Performance of Templates: time 0.04281/1.006, allocations: 30.25 MB / 0.894 GB, free: 210.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: