Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00846/0.008461, allocations: 169.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7638/0.7638, allocations: 132.3 MB / 148.1 MB, free: 252 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 403.2 MB, free: 6.766 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.0009277/0.0009278, allocations: 101 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 12 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4268, allocations: 81.57 MB / 0.6437 GB, free: 39.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/4.815, allocations: 1.916 GB / 2.56 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/4.816, allocations: 99.83 kB / 2.56 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.702/12.52, allocations: 2.004 GB / 4.564 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.625e-06/12.52, allocations: 0 / 4.564 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002955/12.52, allocations: 55.02 kB / 4.564 GB, free: 73.84 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01037/12.53, allocations: 3.094 MB / 4.567 GB, free: 72.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/12.53, allocations: 7.406 kB / 4.567 GB, free: 72.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006309/12.53, allocations: 0.7897 MB / 4.568 GB, free: 72.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007723/12.54, allocations: 2.354 MB / 4.57 GB, free: 72.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/12.54, allocations: 127.9 kB / 4.57 GB, free: 72.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/12.54, allocations: 159.8 kB / 4.57 GB, free: 72.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/12.55, allocations: 1.763 MB / 4.572 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/12.55, allocations: 0 / 4.572 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/12.55, allocations: 64.44 kB / 4.572 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/12.55, allocations: 53.45 kB / 4.572 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/12.55, allocations: 1.459 MB / 4.574 GB, free: 71.79 MB / 0.7292 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.0138/12.56, allocations: 8.112 MB / 4.582 GB, free: 67.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/12.57, allocations: 1.721 MB / 4.583 GB, free: 67.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000455/12.57, allocations: 212.7 kB / 4.583 GB, free: 66.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/12.57, allocations: 0.6383 MB / 4.584 GB, free: 66.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001307/12.57, allocations: 118.1 kB / 4.584 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 4.558e-06/12.57, allocations: 0 / 4.584 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.008187/12.58, allocations: 3.488 MB / 4.588 GB, free: 66.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/12.58, allocations: 119.6 kB / 4.588 GB, free: 65.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/12.58, allocations: 1.321 MB / 4.589 GB, free: 65.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/12.58, allocations: 54.42 kB / 4.589 GB, free: 65.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/12.58, allocations: 0.9499 MB / 4.59 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/12.58, allocations: 380.3 kB / 4.59 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/12.58, allocations: 20.53 kB / 4.59 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001033/12.58, allocations: 353.3 kB / 4.591 GB, free: 64.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008958/12.58, allocations: 488.4 kB / 4.591 GB, free: 64.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/12.58, allocations: 0.8341 MB / 4.592 GB, free: 64.39 MB / 0.7292 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.009516/12.59, allocations: 2.286 MB / 4.594 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/12.59, allocations: 0 / 4.594 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003785/12.6, allocations: 1.561 MB / 4.596 GB, free: 64.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007715/12.6, allocations: 2.949 MB / 4.599 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/12.6, allocations: 7.531 kB / 4.599 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/12.6, allocations: 54.95 kB / 4.599 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/12.6, allocations: 277.1 kB / 4.599 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/12.6, allocations: 1.592 MB / 4.601 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/12.6, allocations: 161.7 kB / 4.601 GB, free: 59.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/12.6, allocations: 53.52 kB / 4.601 GB, free: 59.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/12.6, allocations: 3.812 kB / 4.601 GB, free: 59.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002899/12.6, allocations: 1.376 MB / 4.602 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/12.6, allocations: 6.156 kB / 4.602 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/12.61, allocations: 53 kB / 4.602 GB, free: 59.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/12.61, allocations: 279.5 kB / 4.602 GB, free: 59.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/12.61, allocations: 1.589 MB / 4.604 GB, free: 58.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/12.61, allocations: 153.8 kB / 4.604 GB, free: 58.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/12.61, allocations: 51.95 kB / 4.604 GB, free: 58.2 MB / 0.7292 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.001708/12.61, allocations: 0.5953 MB / 4.605 GB, free: 58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/12.61, allocations: 189.4 kB / 4.605 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/12.62, allocations: 1.383 MB / 4.606 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/12.62, allocations: 14.28 kB / 4.606 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/12.62, allocations: 0 / 4.606 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002137/12.62, allocations: 1.132 MB / 4.607 GB, free: 57.68 MB / 0.7292 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.008482/12.63, allocations: 3.469 MB / 4.611 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/12.63, allocations: 2.625 kB / 4.611 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/12.63, allocations: 229.3 kB / 4.611 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/12.63, allocations: 81.12 kB / 4.611 GB, free: 57.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/12.63, allocations: 34 kB / 4.611 GB, free: 57.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/12.63, allocations: 2.929 MB / 4.614 GB, free: 54.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/12.63, allocations: 3.953 kB / 4.614 GB, free: 54.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/12.63, allocations: 2.158 MB / 4.616 GB, free: 54.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/12.64, allocations: 377.5 kB / 4.616 GB, free: 53.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006208/12.64, allocations: 29.83 kB / 4.616 GB, free: 53.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/12.64, allocations: 154.5 kB / 4.617 GB, free: 53.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/12.64, allocations: 77.89 kB / 4.617 GB, free: 53.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/12.64, allocations: 40.02 kB / 4.617 GB, free: 53.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002481/12.64, allocations: 1.018 MB / 4.618 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/12.64, allocations: 0 / 4.618 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006433/12.65, allocations: 1.252 MB / 4.619 GB, free: 53.65 MB / 0.7292 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.00641/12.65, allocations: 3.445 MB / 4.622 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005305/12.66, allocations: 2.267 MB / 4.625 GB, free: 51.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/12.66, allocations: 0 / 4.625 GB, free: 51.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/12.66, allocations: 0.8265 MB / 4.625 GB, free: 51.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/12.67, allocations: 0.9423 MB / 4.626 GB, free: 51.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/12.68, allocations: 4.779 MB / 4.631 GB, free: 49.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/12.68, allocations: 1.63 MB / 4.633 GB, free: 48.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003399/12.68, allocations: 0.5092 MB / 4.633 GB, free: 48.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/12.68, allocations: 145.8 kB / 4.633 GB, free: 48.92 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/12.68, allocations: 0 / 4.633 GB, free: 48.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.106/12.79, allocations: 67.62 MB / 4.699 GB, free: 30.71 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)