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.001132/0.001132, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8104/0.8104, allocations: 130.7 MB / 138.7 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.001152/0.001152, allocations: 96.05 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.754e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5139, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.334/5.848, allocations: 1.916 GB / 2.544 GB, free: 33.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/5.849, allocations: 95.94 kB / 2.544 GB, free: 33.89 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.667/14.52, allocations: 1.981 GB / 4.525 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.465e-06/14.52, allocations: 0 / 4.525 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004547/14.52, allocations: 62.14 kB / 4.525 GB, free: 83.12 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.008923/14.53, allocations: 2.563 MB / 4.528 GB, free: 82.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/14.53, allocations: 7.156 kB / 4.528 GB, free: 82.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/14.53, allocations: 0.7957 MB / 4.528 GB, free: 81.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007645/14.54, allocations: 2.324 MB / 4.531 GB, free: 81.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/14.54, allocations: 52.12 kB / 4.531 GB, free: 81.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006707/14.54, allocations: 92.09 kB / 4.531 GB, free: 81.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003379/14.54, allocations: 1.266 MB / 4.532 GB, free: 81.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/14.55, allocations: 1.467 MB / 4.534 GB, free: 81.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/14.55, allocations: 10.83 kB / 4.534 GB, free: 81.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/14.55, allocations: 1.5 kB / 4.534 GB, free: 81.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.529e-05/14.55, allocations: 62.67 kB / 4.534 GB, free: 81.29 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.01312/14.56, allocations: 7.832 MB / 4.541 GB, free: 77.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/14.56, allocations: 1.593 MB / 4.543 GB, free: 76.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/14.56, allocations: 0.5483 MB / 4.543 GB, free: 76.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/14.56, allocations: 213.1 kB / 4.544 GB, free: 76.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/14.56, allocations: 0.5511 MB / 4.544 GB, free: 76.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001291/14.57, allocations: 96.17 kB / 4.544 GB, free: 76.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 5.23e-06/14.57, allocations: 0 / 4.544 GB, free: 76.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.006984/14.57, allocations: 2.776 MB / 4.547 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/14.57, allocations: 118.9 kB / 4.547 GB, free: 75.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/14.57, allocations: 1.189 MB / 4.548 GB, free: 75.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/14.57, allocations: 27.58 kB / 4.548 GB, free: 75.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000774/14.58, allocations: 0.9537 MB / 4.549 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/14.58, allocations: 365.4 kB / 4.549 GB, free: 74.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/14.58, allocations: 0 / 4.549 GB, free: 74.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/14.58, allocations: 357.6 kB / 4.55 GB, free: 74.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/14.58, allocations: 412.4 kB / 4.55 GB, free: 74.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/14.58, allocations: 0.7459 MB / 4.551 GB, free: 74.02 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.004602/14.58, allocations: 1.758 MB / 4.553 GB, free: 73.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/14.58, allocations: 3.344 kB / 4.553 GB, free: 73.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002424/14.58, allocations: 1.374 MB / 4.554 GB, free: 73.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006266/14.58, allocations: 2.942 MB / 4.557 GB, free: 70.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/14.58, allocations: 10.97 kB / 4.557 GB, free: 70.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/14.59, allocations: 40.5 kB / 4.557 GB, free: 70.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/14.59, allocations: 293.5 kB / 4.557 GB, free: 70.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009904/14.59, allocations: 1.434 MB / 4.559 GB, free: 69.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/14.59, allocations: 134.2 kB / 4.559 GB, free: 69.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/14.59, allocations: 56.27 kB / 4.559 GB, free: 69.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/14.59, allocations: 9.156 kB / 4.559 GB, free: 69.35 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002014/14.59, allocations: 1.139 MB / 4.56 GB, free: 69.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/14.59, allocations: 6.5 kB / 4.56 GB, free: 69.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/14.59, allocations: 43.89 kB / 4.56 GB, free: 69.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/14.59, allocations: 286.4 kB / 4.56 GB, free: 69.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/14.59, allocations: 1.432 MB / 4.562 GB, free: 68.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/14.6, allocations: 143.6 kB / 4.562 GB, free: 68.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/14.6, allocations: 54.86 kB / 4.562 GB, free: 68.02 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000367/14.6, allocations: 141.2 kB / 4.562 GB, free: 67.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/14.6, allocations: 191.1 kB / 4.562 GB, free: 67.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/14.6, allocations: 1.222 MB / 4.563 GB, free: 67.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/14.6, allocations: 10.97 kB / 4.563 GB, free: 67.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/14.6, allocations: 0 / 4.563 GB, free: 67.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/14.6, allocations: 0.9942 MB / 4.564 GB, free: 67.59 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.006341/14.61, allocations: 3.215 MB / 4.567 GB, free: 66.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/14.61, allocations: 0 / 4.567 GB, free: 66.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/14.61, allocations: 232.4 kB / 4.568 GB, free: 66.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/14.61, allocations: 80.97 kB / 4.568 GB, free: 66.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/14.61, allocations: 13.53 kB / 4.568 GB, free: 66.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/14.61, allocations: 2.653 MB / 4.57 GB, free: 64.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/14.61, allocations: 0 / 4.57 GB, free: 64.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/14.61, allocations: 1.956 MB / 4.572 GB, free: 64.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/14.61, allocations: 371.1 kB / 4.573 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/14.61, allocations: 10 kB / 4.573 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/14.62, allocations: 136.9 kB / 4.573 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/14.62, allocations: 77.28 kB / 4.573 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/14.62, allocations: 39.78 kB / 4.573 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00144/14.62, allocations: 0.8933 MB / 4.574 GB, free: 63.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/14.62, allocations: 2.625 kB / 4.574 GB, free: 63.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004347/14.62, allocations: 1.117 MB / 4.575 GB, free: 63.69 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005071/14.63, allocations: 3.604 MB / 4.578 GB, free: 62.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003109/14.63, allocations: 2.044 MB / 4.58 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/14.63, allocations: 3.5 kB / 4.58 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008981/14.63, allocations: 0.7245 MB / 4.581 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/14.64, allocations: 0.9106 MB / 4.582 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/14.64, allocations: 3.108 MB / 4.585 GB, free: 60.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/14.64, allocations: 1.629 MB / 4.587 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003229/14.65, allocations: 0.6842 MB / 4.587 GB, free: 60.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/14.65, allocations: 119.3 kB / 4.587 GB, free: 60.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/14.65, allocations: 1.781 kB / 4.587 GB, free: 60.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.08444/14.73, allocations: 52.2 MB / 4.638 GB, free: 56.42 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)