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.001224/0.001223, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.67/1.67, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009593, allocations: 101.4 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.438e-05, allocations: 2.938 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1791, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.542, allocations: 1.923 GB / 2.564 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/5.542, allocations: 91.95 kB / 2.564 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.814/14.36, allocations: 2.089 GB / 4.653 GB, free: 53.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.326e-06/14.36, allocations: 0 / 4.653 GB, free: 53.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000259/14.36, allocations: 57.52 kB / 4.653 GB, free: 53.52 MB / 0.7292 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.00688/14.36, allocations: 2.399 MB / 4.656 GB, free: 51.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/14.36, allocations: 12.02 kB / 4.656 GB, free: 51.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/14.37, allocations: 0.7705 MB / 4.656 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/14.37, allocations: 2.182 MB / 4.659 GB, free: 48.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/14.37, allocations: 109.3 kB / 4.659 GB, free: 47.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/14.38, allocations: 136 kB / 4.659 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/14.38, allocations: 1.492 MB / 4.66 GB, free: 46.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/14.38, allocations: 0 / 4.66 GB, free: 46.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/14.38, allocations: 60 kB / 4.66 GB, free: 46.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/14.38, allocations: 50.17 kB / 4.66 GB, free: 46.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/14.38, allocations: 1.13 MB / 4.661 GB, free: 45 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01015/14.39, allocations: 7.442 MB / 4.669 GB, free: 37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/14.39, allocations: 1.348 MB / 4.67 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/14.39, allocations: 443.6 kB / 4.67 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/14.39, allocations: 0.7514 MB / 4.671 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00081/14.39, allocations: 478 kB / 4.672 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001302/14.4, allocations: 130.3 kB / 4.672 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 6.953e-06/14.4, allocations: 3.938 kB / 4.672 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.001975/14.4, allocations: 0.9328 MB / 4.673 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/14.4, allocations: 115.6 kB / 4.673 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/14.4, allocations: 1.324 MB / 4.674 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/14.4, allocations: 45.7 kB / 4.674 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/14.4, allocations: 0.9203 MB / 4.675 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/14.4, allocations: 303.6 kB / 4.675 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/14.4, allocations: 20 kB / 4.675 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001135/14.4, allocations: 345.9 kB / 4.676 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/14.4, allocations: 330.6 kB / 4.676 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/14.4, allocations: 0.6993 MB / 4.677 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/14.4, allocations: 470 kB / 4.677 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/14.4, allocations: 0 / 4.677 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001797/14.4, allocations: 1.211 MB / 4.678 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009669/14.41, allocations: 3.392 MB / 4.682 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/14.41, allocations: 8 kB / 4.682 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/14.41, allocations: 16 kB / 4.682 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/14.41, allocations: 263.6 kB / 4.682 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/14.41, allocations: 23.88 kB / 4.682 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/14.41, allocations: 143.7 kB / 4.682 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/14.41, allocations: 55.05 kB / 4.682 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/14.41, allocations: 8 kB / 4.682 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/14.41, allocations: 1.027 MB / 4.683 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/14.41, allocations: 8 kB / 4.683 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/14.41, allocations: 16 kB / 4.683 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/14.41, allocations: 260.4 kB / 4.683 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/14.41, allocations: 15.94 kB / 4.683 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/14.41, allocations: 147.7 kB / 4.684 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/14.41, allocations: 55.97 kB / 4.684 GB, free: 20.97 MB / 0.7292 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 () * 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.0002573/14.41, allocations: 180.5 kB / 4.684 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/14.41, allocations: 173.8 kB / 4.684 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/14.41, allocations: 1 MB / 4.685 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/14.41, allocations: 8 kB / 4.685 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/14.41, allocations: 4 kB / 4.685 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/14.42, allocations: 1.07 MB / 4.686 GB, free: 18.43 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.004571/14.42, allocations: 2.716 MB / 4.689 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/14.42, allocations: 3.703 kB / 4.689 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/14.42, allocations: 179.9 kB / 4.689 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/14.42, allocations: 44.83 kB / 4.689 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/14.42, allocations: 23.98 kB / 4.689 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/14.42, allocations: 1.421 MB / 4.69 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/14.42, allocations: 4 kB / 4.69 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/14.42, allocations: 1.569 MB / 4.692 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/14.43, allocations: 342.7 kB / 4.692 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/14.43, allocations: 20 kB / 4.692 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/14.43, allocations: 143.7 kB / 4.692 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/14.43, allocations: 64.59 kB / 4.692 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/14.43, allocations: 35.97 kB / 4.692 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001443/14.43, allocations: 1.007 MB / 4.693 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/14.43, allocations: 3.5 kB / 4.693 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004346/14.43, allocations: 1.267 MB / 4.695 GB, free: 9.309 MB / 0.7292 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) * 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.005532/14.44, allocations: 3.56 MB / 4.698 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002486/14.44, allocations: 1.555 MB / 4.7 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/14.44, allocations: 0 / 4.7 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008171/14.44, allocations: 0.5318 MB / 4.7 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/14.45, allocations: 0.7798 MB / 4.701 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/14.45, allocations: 2.825 MB / 4.704 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/14.45, allocations: 1.526 MB / 4.705 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002998/14.46, allocations: 0.6659 MB / 4.706 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/14.46, allocations: 107.4 kB / 4.706 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of SimCode: time 1.533e-06/14.46, allocations: 4 kB / 4.706 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.7189/15.17, allocations: 71.92 MB / 4.776 GB, free: 83.39 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)