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.001606/0.001606, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8404/0.8404, allocations: 130.7 MB / 138.7 MB, free: 3.477 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.508/1.508, 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.0008785/0.0008786, allocations: 93.48 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/1.997e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5796, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.996, allocations: 1.922 GB / 2.551 GB, free: 26.92 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004116/5.997, allocations: 95.61 kB / 2.551 GB, free: 26.83 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.792/14.79, allocations: 2.068 GB / 4.618 GB, free: 79.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/14.79, allocations: 0 / 4.618 GB, free: 79.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002311/14.79, allocations: 56.95 kB / 4.618 GB, free: 79.66 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.005748/14.79, allocations: 2.391 MB / 4.621 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/14.79, allocations: 12.88 kB / 4.621 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/14.8, allocations: 0.7708 MB / 4.621 GB, free: 78.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/14.8, allocations: 2.187 MB / 4.624 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/14.8, allocations: 46.41 kB / 4.624 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/14.8, allocations: 85.16 kB / 4.624 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001839/14.81, allocations: 1.07 MB / 4.625 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/14.81, allocations: 1.297 MB / 4.626 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/14.81, allocations: 0 / 4.626 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/14.81, allocations: 6.125 kB / 4.626 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/14.81, allocations: 55.69 kB / 4.626 GB, free: 77.5 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.009304/14.82, allocations: 7.209 MB / 4.633 GB, free: 72.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/14.82, allocations: 1.34 MB / 4.634 GB, free: 71.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/14.82, allocations: 424.4 kB / 4.635 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009864/14.82, allocations: 0.7496 MB / 4.636 GB, free: 70.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006464/14.82, allocations: 451.2 kB / 4.636 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/14.82, allocations: 108.8 kB / 4.636 GB, free: 70.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 3.637e-06/14.82, allocations: 0 / 4.636 GB, free: 70.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.005451/14.83, allocations: 1.508 MB / 4.638 GB, free: 70.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/14.83, allocations: 110.7 kB / 4.638 GB, free: 69.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/14.83, allocations: 1.219 MB / 4.639 GB, free: 69.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/14.83, allocations: 27.61 kB / 4.639 GB, free: 69.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/14.83, allocations: 0.9194 MB / 4.64 GB, free: 68.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/14.83, allocations: 292.9 kB / 4.64 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/14.83, allocations: 0 / 4.64 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001185/14.83, allocations: 344.9 kB / 4.64 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/14.83, allocations: 325.1 kB / 4.641 GB, free: 68.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/14.83, allocations: 0.6719 MB / 4.641 GB, free: 67.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/14.84, allocations: 1.015 MB / 4.642 GB, free: 66.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/14.84, allocations: 4 kB / 4.642 GB, free: 66.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005198/14.84, allocations: 1.703 MB / 4.644 GB, free: 64.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007304/14.84, allocations: 3.384 MB / 4.647 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/14.84, allocations: 8 kB / 4.647 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/14.84, allocations: 16 kB / 4.647 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/14.84, allocations: 262.4 kB / 4.648 GB, free: 60.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/14.84, allocations: 19.94 kB / 4.648 GB, free: 60.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/14.85, allocations: 123.7 kB / 4.648 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/14.85, allocations: 61.91 kB / 4.648 GB, free: 60.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/14.85, allocations: 4 kB / 4.648 GB, free: 60.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004497/14.85, allocations: 1.468 MB / 4.649 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/14.85, allocations: 8.188 kB / 4.649 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/14.85, allocations: 16 kB / 4.649 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/14.85, allocations: 263.6 kB / 4.649 GB, free: 58.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/14.85, allocations: 15.94 kB / 4.65 GB, free: 58.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/14.85, allocations: 119.8 kB / 4.65 GB, free: 58.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/14.85, allocations: 55.98 kB / 4.65 GB, free: 58.74 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 () * 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.0002209/14.85, allocations: 136.6 kB / 4.65 GB, free: 58.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/14.85, allocations: 177.8 kB / 4.65 GB, free: 58.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/14.86, allocations: 1.524 MB / 4.651 GB, free: 56.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/14.86, allocations: 8 kB / 4.651 GB, free: 56.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/14.86, allocations: 11.56 kB / 4.651 GB, free: 56.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004222/14.86, allocations: 1.61 MB / 4.653 GB, free: 55.19 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.008285/14.87, allocations: 3.117 MB / 4.656 GB, free: 52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/14.87, allocations: 4 kB / 4.656 GB, free: 52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/14.87, allocations: 175.9 kB / 4.656 GB, free: 51.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/14.87, allocations: 48.83 kB / 4.656 GB, free: 51.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/14.87, allocations: 11.98 kB / 4.656 GB, free: 51.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/14.87, allocations: 1.373 MB / 4.658 GB, free: 50.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/14.87, allocations: 3.938 kB / 4.658 GB, free: 50.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/14.88, allocations: 2.125 MB / 4.66 GB, free: 48.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/14.88, allocations: 334.7 kB / 4.66 GB, free: 47.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/14.88, allocations: 4 kB / 4.66 GB, free: 47.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/14.88, allocations: 131.7 kB / 4.66 GB, free: 47.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/14.88, allocations: 64.69 kB / 4.66 GB, free: 47.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/14.88, allocations: 31.98 kB / 4.66 GB, free: 47.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001771/14.88, allocations: 0.9043 MB / 4.661 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/14.88, allocations: 4 kB / 4.661 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004963/14.89, allocations: 1.152 MB / 4.662 GB, free: 45.47 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) * 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.005611/14.9, allocations: 3.707 MB / 4.666 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002551/14.9, allocations: 1.485 MB / 4.667 GB, free: 40.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/14.9, allocations: 0 / 4.667 GB, free: 40.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008138/14.9, allocations: 0.497 MB / 4.668 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/14.9, allocations: 0.739 MB / 4.669 GB, free: 39.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/14.91, allocations: 2.783 MB / 4.671 GB, free: 36.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/14.91, allocations: 1.534 MB / 4.673 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003334/14.91, allocations: 0.6564 MB / 4.673 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/14.91, allocations: 103.4 kB / 4.674 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/14.91, allocations: 0 / 4.674 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.7381/15.65, allocations: 46.37 MB / 4.719 GB, free: 85.82 MB / 0.7292 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)