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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006468/0.006468, allocations: 173 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7572/0.7572, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 406.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009309, allocations: 102.2 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4128, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.163/4.576, allocations: 1.923 GB / 2.573 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/4.576, allocations: 98.59 kB / 2.573 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.032/12.61, allocations: 2.091 GB / 4.664 GB, free: 76.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.694e-06/12.61, allocations: 3.688 kB / 4.664 GB, free: 76.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003817/12.61, allocations: 56.02 kB / 4.664 GB, free: 76.73 MB / 0.7448 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.009163/12.62, allocations: 2.9 MB / 4.667 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/12.62, allocations: 9.406 kB / 4.667 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/12.62, allocations: 0.7717 MB / 4.668 GB, free: 74.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008546/12.63, allocations: 2.218 MB / 4.67 GB, free: 72.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/12.63, allocations: 102.6 kB / 4.67 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007631/12.63, allocations: 140 kB / 4.67 GB, free: 72.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/12.64, allocations: 1.567 MB / 4.672 GB, free: 70.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/12.64, allocations: 0 / 4.672 GB, free: 70.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/12.64, allocations: 56 kB / 4.672 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/12.64, allocations: 54.52 kB / 4.672 GB, free: 70.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/12.64, allocations: 1.271 MB / 4.673 GB, free: 69.42 MB / 0.7448 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.01134/12.65, allocations: 7.454 MB / 4.68 GB, free: 61.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/12.65, allocations: 1.487 MB / 4.682 GB, free: 59.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/12.66, allocations: 0.7539 MB / 4.683 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009933/12.66, allocations: 0.5282 MB / 4.683 GB, free: 58.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00109/12.66, allocations: 123.2 kB / 4.683 GB, free: 58.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=86): time 7.284e-06/12.66, allocations: 0 / 4.683 GB, free: 58.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86): time 0.003441/12.66, allocations: 1.509 MB / 4.685 GB, free: 56.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/12.66, allocations: 111.8 kB / 4.685 GB, free: 56.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/12.66, allocations: 1.335 MB / 4.686 GB, free: 55.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/12.66, allocations: 49.7 kB / 4.686 GB, free: 55.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/12.66, allocations: 0.9234 MB / 4.687 GB, free: 54.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/12.66, allocations: 302 kB / 4.687 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/12.66, allocations: 20 kB / 4.687 GB, free: 54.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/12.66, allocations: 349.9 kB / 4.688 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/12.66, allocations: 398.4 kB / 4.688 GB, free: 53.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009065/12.67, allocations: 0.7502 MB / 4.689 GB, free: 52.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008851/12.67, allocations: 0.5151 MB / 4.689 GB, free: 51.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/12.67, allocations: 0 / 4.689 GB, free: 51.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002272/12.67, allocations: 1.334 MB / 4.691 GB, free: 50.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005843/12.67, allocations: 3.392 MB / 4.694 GB, free: 46.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/12.67, allocations: 8 kB / 4.694 GB, free: 46.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/12.67, allocations: 16 kB / 4.694 GB, free: 46.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/12.67, allocations: 259.6 kB / 4.694 GB, free: 46.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/12.67, allocations: 19.94 kB / 4.694 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/12.67, allocations: 155.6 kB / 4.694 GB, free: 46.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/12.67, allocations: 51.98 kB / 4.694 GB, free: 46.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/12.67, allocations: 4 kB / 4.694 GB, free: 46.35 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/12.67, allocations: 1.153 MB / 4.696 GB, free: 45.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/12.67, allocations: 8 kB / 4.696 GB, free: 45.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/12.67, allocations: 12 kB / 4.696 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/12.68, allocations: 272.2 kB / 4.696 GB, free: 44.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/12.68, allocations: 12 kB / 4.696 GB, free: 44.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/12.68, allocations: 147.7 kB / 4.696 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/12.68, allocations: 47.98 kB / 4.696 GB, free: 44.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (133): * Single equations (assignments): 131 * 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.001044/12.68, allocations: 0.5383 MB / 4.697 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/12.68, allocations: 181.8 kB / 4.697 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/12.68, allocations: 1.118 MB / 4.698 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/12.68, allocations: 8 kB / 4.698 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/12.68, allocations: 4 kB / 4.698 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/12.68, allocations: 1.188 MB / 4.699 GB, free: 41.55 MB / 0.7448 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.004908/12.69, allocations: 2.756 MB / 4.702 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/12.69, allocations: 0 / 4.702 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/12.69, allocations: 179.7 kB / 4.702 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/12.69, allocations: 48.92 kB / 4.702 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/12.69, allocations: 27.98 kB / 4.702 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009917/12.69, allocations: 1.428 MB / 4.703 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/12.69, allocations: 8.016 kB / 4.703 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/12.69, allocations: 1.741 MB / 4.705 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008066/12.69, allocations: 342.7 kB / 4.705 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/12.69, allocations: 16 kB / 4.705 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/12.69, allocations: 143.8 kB / 4.706 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/12.69, allocations: 64.86 kB / 4.706 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/12.69, allocations: 38.72 kB / 4.706 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001349/12.7, allocations: 1.026 MB / 4.707 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/12.7, allocations: 4 kB / 4.707 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00401/12.7, allocations: 1.273 MB / 4.708 GB, free: 32.22 MB / 0.7448 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 (86): * Single equations (assignments): 83 * 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.005068/12.7, allocations: 3.603 MB / 4.711 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003124/12.71, allocations: 1.672 MB / 4.713 GB, free: 27.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/12.71, allocations: 0 / 4.713 GB, free: 27.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/12.71, allocations: 0.5872 MB / 4.714 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/12.71, allocations: 0.7641 MB / 4.714 GB, free: 25.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/12.72, allocations: 4.325 MB / 4.719 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009268/12.72, allocations: 1.53 MB / 4.72 GB, free: 19.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002179/12.72, allocations: 463.8 kB / 4.721 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/12.72, allocations: 127.4 kB / 4.721 GB, free: 19.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/12.72, allocations: 0 / 4.721 GB, free: 19.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.5313/13.25, allocations: 61.27 MB / 4.78 GB, free: 80.55 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (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)