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.001449/0.001449, allocations: 174.7 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/package.mo): time 0.7746/0.7746, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.477/1.477, allocations: 221.3 MB / 396.8 MB, free: 9.148 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.0008778/0.000878, allocations: 98.55 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.093e-05, allocations: 3.469 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 81.59 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.239, allocations: 1.916 GB / 2.551 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/5.239, allocations: 95.62 kB / 2.551 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.248/13.49, allocations: 2.002 GB / 4.553 GB, free: 70.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/13.49, allocations: 3.375 kB / 4.553 GB, free: 70.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002577/13.49, allocations: 66.64 kB / 4.553 GB, free: 70.73 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.007595/13.49, allocations: 2.555 MB / 4.556 GB, free: 69.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/13.5, allocations: 10.84 kB / 4.556 GB, free: 69.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/13.5, allocations: 0.7928 MB / 4.556 GB, free: 69.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/13.51, allocations: 2.324 MB / 4.559 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/13.51, allocations: 122.4 kB / 4.559 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/13.51, allocations: 158 kB / 4.559 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/13.51, allocations: 1.689 MB / 4.561 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/13.51, allocations: 3.906 kB / 4.561 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/13.51, allocations: 61.69 kB / 4.561 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/13.51, allocations: 60.2 kB / 4.561 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/13.51, allocations: 1.324 MB / 4.562 GB, free: 68.89 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.01123/13.53, allocations: 8.108 MB / 4.57 GB, free: 64.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/13.53, allocations: 1.607 MB / 4.572 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/13.53, allocations: 0.5704 MB / 4.572 GB, free: 64.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/13.53, allocations: 224.9 kB / 4.572 GB, free: 64.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009159/13.53, allocations: 0.5743 MB / 4.573 GB, free: 63.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/13.53, allocations: 117.1 kB / 4.573 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 4.599e-06/13.53, allocations: 0 / 4.573 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.005241/13.54, allocations: 2.709 MB / 4.576 GB, free: 63.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/13.54, allocations: 122.1 kB / 4.576 GB, free: 63.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/13.54, allocations: 1.288 MB / 4.577 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/13.54, allocations: 60.14 kB / 4.577 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007611/13.54, allocations: 0.9495 MB / 4.578 GB, free: 62.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/13.54, allocations: 374 kB / 4.578 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/13.54, allocations: 29.06 kB / 4.578 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/13.54, allocations: 354.1 kB / 4.579 GB, free: 61.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/13.54, allocations: 423.5 kB / 4.579 GB, free: 61.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008203/13.54, allocations: 0.7677 MB / 4.58 GB, free: 61.55 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.007843/13.55, allocations: 2.139 MB / 4.582 GB, free: 61.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/13.55, allocations: 0 / 4.582 GB, free: 61.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002593/13.55, allocations: 1.433 MB / 4.583 GB, free: 61.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006273/13.55, allocations: 2.953 MB / 4.586 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/13.55, allocations: 6.594 kB / 4.586 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/13.55, allocations: 52.78 kB / 4.586 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/13.55, allocations: 286.1 kB / 4.587 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/13.55, allocations: 1.489 MB / 4.588 GB, free: 56.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/13.56, allocations: 158.5 kB / 4.588 GB, free: 56.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/13.56, allocations: 57.14 kB / 4.588 GB, free: 56.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/13.56, allocations: 3.5 kB / 4.588 GB, free: 56.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001964/13.56, allocations: 1.245 MB / 4.589 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/13.56, allocations: 11.44 kB / 4.589 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/13.56, allocations: 51.7 kB / 4.589 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/13.56, allocations: 277 kB / 4.59 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/13.56, allocations: 1.5 MB / 4.591 GB, free: 55.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/13.56, allocations: 156.4 kB / 4.591 GB, free: 55.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/13.56, allocations: 52.27 kB / 4.591 GB, free: 55.36 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.0003991/13.56, allocations: 188.8 kB / 4.592 GB, free: 55.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/13.56, allocations: 191.1 kB / 4.592 GB, free: 55.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/13.57, allocations: 1.265 MB / 4.593 GB, free: 55.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/13.57, allocations: 12.03 kB / 4.593 GB, free: 55.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/13.57, allocations: 0 / 4.593 GB, free: 55.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/13.57, allocations: 0.9979 MB / 4.594 GB, free: 54.93 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.007297/13.57, allocations: 3.395 MB / 4.597 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/13.57, allocations: 3.594 kB / 4.597 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/13.58, allocations: 233.9 kB / 4.598 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/13.58, allocations: 74.5 kB / 4.598 GB, free: 54.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/13.58, allocations: 29.83 kB / 4.598 GB, free: 54.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/13.58, allocations: 2.751 MB / 4.6 GB, free: 51.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/13.58, allocations: 0 / 4.6 GB, free: 51.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/13.58, allocations: 1.973 MB / 4.602 GB, free: 51.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/13.58, allocations: 369.3 kB / 4.603 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/13.58, allocations: 30 kB / 4.603 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/13.58, allocations: 152.3 kB / 4.603 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/13.59, allocations: 76.47 kB / 4.603 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/13.59, allocations: 41.27 kB / 4.603 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002141/13.59, allocations: 1.004 MB / 4.604 GB, free: 50.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/13.59, allocations: 0 / 4.604 GB, free: 50.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005872/13.59, allocations: 1.257 MB / 4.605 GB, free: 50.89 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.005997/13.6, allocations: 3.436 MB / 4.608 GB, free: 49.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00397/13.6, allocations: 2.141 MB / 4.611 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/13.6, allocations: 0 / 4.611 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/13.6, allocations: 0.7672 MB / 4.611 GB, free: 48.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/13.61, allocations: 0.939 MB / 4.612 GB, free: 48.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/13.62, allocations: 3.165 MB / 4.615 GB, free: 48.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/13.62, allocations: 1.624 MB / 4.617 GB, free: 47.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004225/13.62, allocations: 0.6995 MB / 4.618 GB, free: 47.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/13.62, allocations: 117.5 kB / 4.618 GB, free: 47.29 MB / 0.7292 GB Notification: Performance of SimCode: time 1.413e-06/13.62, allocations: 0 / 4.618 GB, free: 47.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.1137/13.74, allocations: 78.47 MB / 4.694 GB, free: 12.72 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)