Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005718/0.005717, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 62.97 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1588, allocations: 80.2 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05744/0.2163, allocations: 53.26 MB / 0.7117 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02266/0.239, allocations: 15.19 MB / 0.7266 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.2422, allocations: 87.5 kB / 0.7266 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003604/0.2458, allocations: 1.122 MB / 0.7277 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.2532, allocations: 2.45 MB / 0.7301 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006193/0.2594, allocations: 2.277 MB / 0.7323 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007509/0.2669, allocations: 4.634 MB / 0.7369 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.2702, allocations: 1.627 MB / 0.7385 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.2752, allocations: 1.959 MB / 0.7404 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.2783, allocations: 1.369 MB / 0.7417 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009579/0.2793, allocations: 168 kB / 0.7419 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.2841, allocations: 1.837 MB / 0.7437 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009577/0.2851, allocations: 0.5216 MB / 0.7442 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.2871, allocations: 1.038 MB / 0.7452 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.2926, allocations: 3.322 MB / 0.7484 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2926, allocations: 3.938 kB / 0.7484 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2926, allocations: 0 / 0.7484 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.2926, allocations: 4 kB / 0.7484 GB, free: 2.301 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004107/0.2967, allocations: 2.521 MB / 0.7509 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2968, allocations: 12.02 kB / 0.7509 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2988, allocations: 453.3 kB / 0.7513 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.3018, allocations: 1.667 MB / 0.753 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.3019, allocations: 90.2 kB / 0.7531 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.3021, allocations: 120 kB / 0.7532 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.3045, allocations: 1.346 MB / 0.7545 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.3046, allocations: 0 / 0.7545 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3047, allocations: 48 kB / 0.7545 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.3047, allocations: 49.94 kB / 0.7546 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.3072, allocations: 1.077 MB / 0.7556 GB, free: 10.7 MB / 0.5919 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.008689/0.3159, allocations: 7.072 MB / 0.7625 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.3183, allocations: 1.349 MB / 0.7639 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.3192, allocations: 422.8 kB / 0.7643 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004851/0.3241, allocations: 3.094 MB / 0.7673 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3251, allocations: 434.9 kB / 0.7677 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.274e-06/0.3251, allocations: 0 / 0.7677 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002943/0.3281, allocations: 1.205 MB / 0.7689 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3281, allocations: 63.95 kB / 0.7689 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.3301, allocations: 1.537 MB / 0.7704 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.3301, allocations: 41.7 kB / 0.7705 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/0.3308, allocations: 0.8839 MB / 0.7713 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.331, allocations: 212.9 kB / 0.7715 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.3313, allocations: 206.4 kB / 0.7717 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3315, allocations: 345.9 kB / 0.7721 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/0.3324, allocations: 376.6 kB / 0.7724 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3335, allocations: 0.7514 MB / 0.7732 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.3355, allocations: 1.113 MB / 0.7742 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.3355, allocations: 4 kB / 0.7743 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002832/0.3384, allocations: 1.29 MB / 0.7755 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.3384, allocations: 45.83 kB / 0.7756 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3385, allocations: 12 kB / 0.7756 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.3385, allocations: 16 kB / 0.7756 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.3395, allocations: 247.6 kB / 0.7758 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.3395, allocations: 28.02 kB / 0.7758 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.3406, allocations: 135.6 kB / 0.776 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.3407, allocations: 55.98 kB / 0.776 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.342, allocations: 0.6737 MB / 0.7767 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.3431, allocations: 0.7358 MB / 0.7774 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001886/0.345, allocations: 1.082 MB / 0.7785 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.345, allocations: 4 kB / 0.7785 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002451/0.3475, allocations: 1.262 MB / 0.7797 GB, free: 284 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3475, allocations: 44.03 kB / 0.7797 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3476, allocations: 8 kB / 0.7797 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3476, allocations: 23.94 kB / 0.7798 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/0.3485, allocations: 252.2 kB / 0.78 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.3486, allocations: 19.94 kB / 0.78 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.3495, allocations: 123.9 kB / 0.7801 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.3496, allocations: 51.98 kB / 0.7802 GB, free: 15.76 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.3499, allocations: 259 kB / 0.7804 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3501, allocations: 161.9 kB / 0.7806 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.3527, allocations: 1.114 MB / 0.7817 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.3527, allocations: 8 kB / 0.7817 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3527, allocations: 4 kB / 0.7817 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/0.3546, allocations: 0.9587 MB / 0.7826 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.3587, allocations: 2.401 MB / 0.785 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3588, allocations: 0 / 0.785 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/0.3595, allocations: 143.8 kB / 0.7851 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.3597, allocations: 28.91 kB / 0.7851 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.3597, allocations: 27.98 kB / 0.7852 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3608, allocations: 1.418 MB / 0.7866 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3609, allocations: 3.938 kB / 0.7866 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.3639, allocations: 1.535 MB / 0.7881 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.3645, allocations: 342.7 kB / 0.7884 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3647, allocations: 19.94 kB / 0.7884 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.3655, allocations: 55.94 kB / 0.7885 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3657, allocations: 52.5 kB / 0.7885 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.3657, allocations: 27.97 kB / 0.7885 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001505/0.3672, allocations: 1.093 MB / 0.7896 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3672, allocations: 0 / 0.7896 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002317/0.3696, allocations: 0.8614 MB / 0.7904 GB, free: 4.91 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/0.3713, allocations: 0.7407 MB / 0.7912 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.3749, allocations: 1.578 MB / 0.7927 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3749, allocations: 0.5 kB / 0.7927 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.3761, allocations: 0.5409 MB / 0.7932 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.3793, allocations: 0.7654 MB / 0.794 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/0.3846, allocations: 3.027 MB / 0.7969 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.3855, allocations: 1.356 MB / 0.7983 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001433/0.387, allocations: 417.8 kB / 0.7987 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.3873, allocations: 139.4 kB / 0.7988 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of SimCode: time 9.81e-07/0.3873, allocations: 0 / 0.7988 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.3891/0.7764, allocations: 31.65 MB / 0.8297 GB, free: 138 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)