Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008545/0.008545, allocations: 170.8 kB / 15.11 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.7505/0.7505, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.542/1.542, allocations: 223.2 MB / 406.9 MB, free: 3.191 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.001069/0.001069, allocations: 97.92 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4269, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.546/4.973, allocations: 1.917 GB / 2.566 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/4.973, allocations: 104.3 kB / 2.566 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.832/12.81, allocations: 2.004 GB / 4.57 GB, free: 79.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/12.81, allocations: 0 / 4.57 GB, free: 79.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003213/12.81, allocations: 54.45 kB / 4.57 GB, free: 79.5 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.009608/12.82, allocations: 3.095 MB / 4.573 GB, free: 78.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/12.82, allocations: 7.062 kB / 4.573 GB, free: 78.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005809/12.82, allocations: 0.7915 MB / 4.574 GB, free: 78.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0068/12.83, allocations: 2.356 MB / 4.576 GB, free: 77.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/12.83, allocations: 121.6 kB / 4.576 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/12.83, allocations: 160 kB / 4.576 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/12.83, allocations: 1.753 MB / 4.578 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/12.83, allocations: 0 / 4.578 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/12.83, allocations: 62.45 kB / 4.578 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/12.83, allocations: 62.75 kB / 4.578 GB, free: 77.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/12.84, allocations: 1.453 MB / 4.58 GB, free: 77.44 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.01133/12.85, allocations: 8.108 MB / 4.588 GB, free: 73.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/12.85, allocations: 1.728 MB / 4.589 GB, free: 72.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/12.85, allocations: 209 kB / 4.589 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/12.85, allocations: 0.6359 MB / 4.59 GB, free: 72.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001229/12.85, allocations: 125 kB / 4.59 GB, free: 72.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 4.298e-06/12.85, allocations: 0 / 4.59 GB, free: 72.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.00783/12.86, allocations: 3.488 MB / 4.594 GB, free: 71.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/12.86, allocations: 120 kB / 4.594 GB, free: 71.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/12.86, allocations: 1.319 MB / 4.595 GB, free: 71.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/12.86, allocations: 51.05 kB / 4.595 GB, free: 71.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/12.86, allocations: 0.9606 MB / 4.596 GB, free: 70.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/12.86, allocations: 373.1 kB / 4.596 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/12.86, allocations: 24.66 kB / 4.596 GB, free: 70.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/12.86, allocations: 355.3 kB / 4.597 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008754/12.86, allocations: 489.7 kB / 4.597 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/12.86, allocations: 0.8294 MB / 4.598 GB, free: 70.05 MB / 0.7448 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009053/12.87, allocations: 2.287 MB / 4.6 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/12.87, allocations: 3.5 kB / 4.6 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003049/12.88, allocations: 1.562 MB / 4.602 GB, free: 69.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000647/12.88, allocations: 2.948 MB / 4.605 GB, free: 66.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/12.88, allocations: 7.688 kB / 4.605 GB, free: 66.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/12.88, allocations: 56.61 kB / 4.605 GB, free: 66.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/12.88, allocations: 277.2 kB / 4.605 GB, free: 66.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/12.88, allocations: 1.596 MB / 4.606 GB, free: 65.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/12.88, allocations: 160.7 kB / 4.607 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/12.88, allocations: 58.36 kB / 4.607 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/12.88, allocations: 6.969 kB / 4.607 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/12.88, allocations: 1.373 MB / 4.608 GB, free: 65.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/12.88, allocations: 6.531 kB / 4.608 GB, free: 65.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/12.89, allocations: 51.17 kB / 4.608 GB, free: 65.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/12.89, allocations: 280.3 kB / 4.608 GB, free: 65.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/12.89, allocations: 1.581 MB / 4.61 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/12.89, allocations: 160.3 kB / 4.61 GB, free: 63.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/12.89, allocations: 53.69 kB / 4.61 GB, free: 63.85 MB / 0.7448 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (146): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001468/12.89, allocations: 0.5827 MB / 4.611 GB, free: 63.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/12.89, allocations: 190.1 kB / 4.611 GB, free: 63.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/12.89, allocations: 1.386 MB / 4.612 GB, free: 63.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/12.89, allocations: 9.406 kB / 4.612 GB, free: 63.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/12.89, allocations: 0 / 4.612 GB, free: 63.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/12.9, allocations: 1.126 MB / 4.613 GB, free: 63.35 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.006448/12.9, allocations: 3.468 MB / 4.617 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/12.9, allocations: 1.531 kB / 4.617 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/12.9, allocations: 233.4 kB / 4.617 GB, free: 62.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/12.9, allocations: 82.84 kB / 4.617 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/12.9, allocations: 29.75 kB / 4.617 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/12.91, allocations: 2.934 MB / 4.62 GB, free: 60.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/12.91, allocations: 3.953 kB / 4.62 GB, free: 60.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/12.91, allocations: 2.16 MB / 4.622 GB, free: 59.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/12.91, allocations: 379.8 kB / 4.622 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/12.91, allocations: 28.36 kB / 4.622 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/12.91, allocations: 153.5 kB / 4.623 GB, free: 59.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/12.91, allocations: 76.94 kB / 4.623 GB, free: 59.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/12.91, allocations: 35.61 kB / 4.623 GB, free: 59.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001739/12.91, allocations: 1.02 MB / 4.624 GB, free: 59.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/12.91, allocations: 3.188 kB / 4.624 GB, free: 59.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005564/12.92, allocations: 1.259 MB / 4.625 GB, free: 59.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (104): * Single equations (assignments): 100 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006988/12.93, allocations: 3.448 MB / 4.628 GB, free: 57.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004979/12.93, allocations: 2.263 MB / 4.63 GB, free: 57.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/12.93, allocations: 0 / 4.63 GB, free: 57.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/12.93, allocations: 0.8316 MB / 4.631 GB, free: 57.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/12.94, allocations: 0.9508 MB / 4.632 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/12.95, allocations: 4.775 MB / 4.637 GB, free: 55.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/12.95, allocations: 1.632 MB / 4.638 GB, free: 54.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002501/12.95, allocations: 0.5074 MB / 4.639 GB, free: 54.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/12.95, allocations: 140.8 kB / 4.639 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/12.95, allocations: 0 / 4.639 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.0943/13.04, allocations: 67.62 MB / 4.705 GB, free: 29.76 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)