Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005954/0.005954, allocations: 171.1 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/package.mo): time 0.7286/0.7286, allocations: 132.3 MB / 148.1 MB, free: 228 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.624/1.624, allocations: 223.2 MB / 403.2 MB, free: 6.711 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.0009063/0.0009064, allocations: 99.14 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 8 kB / 0.5641 GB, free: 2.098 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4288, allocations: 81.57 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.139/4.568, allocations: 1.923 GB / 2.567 GB, free: 38.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/4.568, allocations: 101.2 kB / 2.567 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.94/12.51, allocations: 2.091 GB / 4.658 GB, free: 69.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/12.51, allocations: 0 / 4.658 GB, free: 69.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002604/12.51, allocations: 55.05 kB / 4.658 GB, free: 69.78 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.009497/12.52, allocations: 2.907 MB / 4.661 GB, free: 68.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/12.52, allocations: 10.66 kB / 4.661 GB, free: 68.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/12.52, allocations: 0.7731 MB / 4.662 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/12.53, allocations: 2.205 MB / 4.664 GB, free: 67.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/12.53, allocations: 113.2 kB / 4.664 GB, free: 67.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/12.53, allocations: 143.8 kB / 4.664 GB, free: 67.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/12.54, allocations: 1.555 MB / 4.666 GB, free: 67.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/12.54, allocations: 0 / 4.666 GB, free: 67.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/12.54, allocations: 57.62 kB / 4.666 GB, free: 67.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/12.54, allocations: 50.77 kB / 4.666 GB, free: 67.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/12.54, allocations: 1.278 MB / 4.667 GB, free: 67.41 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.01046/12.55, allocations: 7.437 MB / 4.674 GB, free: 62.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/12.55, allocations: 1.493 MB / 4.676 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/12.55, allocations: 0.7529 MB / 4.677 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009836/12.55, allocations: 0.532 MB / 4.677 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/12.55, allocations: 121.6 kB / 4.677 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 4.208e-06/12.55, allocations: 0 / 4.677 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.003547/12.56, allocations: 1.508 MB / 4.679 GB, free: 60.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/12.56, allocations: 117.2 kB / 4.679 GB, free: 60.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/12.56, allocations: 1.339 MB / 4.68 GB, free: 59.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/12.56, allocations: 43.23 kB / 4.68 GB, free: 59.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007641/12.56, allocations: 0.9217 MB / 4.681 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/12.56, allocations: 306.1 kB / 4.681 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/12.56, allocations: 19.91 kB / 4.681 GB, free: 58.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.322e-05/12.56, allocations: 349.5 kB / 4.682 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/12.56, allocations: 391.8 kB / 4.682 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/12.56, allocations: 0.7597 MB / 4.683 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/12.56, allocations: 0.5154 MB / 4.683 GB, free: 56.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/12.56, allocations: 3.953 kB / 4.683 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002573/12.57, allocations: 1.328 MB / 4.685 GB, free: 55.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006962/12.57, allocations: 3.397 MB / 4.688 GB, free: 51.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/12.57, allocations: 8 kB / 4.688 GB, free: 51.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/12.57, allocations: 16 kB / 4.688 GB, free: 51.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/12.57, allocations: 258.6 kB / 4.688 GB, free: 51.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/12.57, allocations: 27.88 kB / 4.688 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/12.57, allocations: 140.9 kB / 4.688 GB, free: 51.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/12.57, allocations: 51.98 kB / 4.688 GB, free: 51.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/12.57, allocations: 6.25 kB / 4.688 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00202/12.57, allocations: 1.154 MB / 4.69 GB, free: 49.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/12.57, allocations: 8 kB / 4.69 GB, free: 49.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/12.57, allocations: 12 kB / 4.69 GB, free: 49.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/12.57, allocations: 260 kB / 4.69 GB, free: 49.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/12.57, allocations: 23.92 kB / 4.69 GB, free: 49.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/12.58, allocations: 139.7 kB / 4.69 GB, free: 49.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/12.58, allocations: 51.98 kB / 4.69 GB, free: 49.46 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 () * Number of clocked 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.001208/12.58, allocations: 0.5344 MB / 4.691 GB, free: 48.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/12.58, allocations: 181.8 kB / 4.691 GB, free: 48.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/12.58, allocations: 1.122 MB / 4.692 GB, free: 47.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/12.58, allocations: 8 kB / 4.692 GB, free: 47.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/12.58, allocations: 4 kB / 4.692 GB, free: 47.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/12.58, allocations: 1.187 MB / 4.693 GB, free: 46.32 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.006938/12.59, allocations: 2.755 MB / 4.696 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/12.59, allocations: 0 / 4.696 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008873/12.59, allocations: 183.9 kB / 4.696 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/12.59, allocations: 48.77 kB / 4.696 GB, free: 43.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/12.59, allocations: 23.98 kB / 4.696 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/12.59, allocations: 1.43 MB / 4.697 GB, free: 41.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/12.59, allocations: 3.953 kB / 4.697 GB, free: 41.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/12.59, allocations: 1.752 MB / 4.699 GB, free: 39.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/12.6, allocations: 338.7 kB / 4.699 GB, free: 39.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/12.6, allocations: 16 kB / 4.699 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/12.6, allocations: 143.8 kB / 4.7 GB, free: 39.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/12.6, allocations: 60.88 kB / 4.7 GB, free: 39.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/12.6, allocations: 35.97 kB / 4.7 GB, free: 39.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002245/12.6, allocations: 1.033 MB / 4.701 GB, free: 38.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/12.6, allocations: 0 / 4.701 GB, free: 38.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006085/12.61, allocations: 1.27 MB / 4.702 GB, free: 36.99 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) * Number of clocked states: 0 () * 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.006587/12.61, allocations: 3.594 MB / 4.705 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004107/12.62, allocations: 1.68 MB / 4.707 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/12.62, allocations: 4.312 kB / 4.707 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/12.62, allocations: 0.5862 MB / 4.708 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/12.62, allocations: 0.7569 MB / 4.708 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009452/12.63, allocations: 4.318 MB / 4.713 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/12.63, allocations: 1.53 MB / 4.714 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002927/12.64, allocations: 455.7 kB / 4.715 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/12.64, allocations: 139.4 kB / 4.715 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of SimCode: time 2.765e-06/12.64, allocations: 0 / 4.715 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.5703/13.21, allocations: 61.27 MB / 4.774 GB, free: 91.82 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)