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.004592/0.004592, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001076/0.001077, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7885/0.7885, allocations: 132.2 MB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 0.5814 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.432, allocations: 80.2 MB / 0.6597 GB, free: 10.33 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.05093/0.483, allocations: 53.27 MB / 0.7117 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02454/0.5075, allocations: 15.19 MB / 0.7266 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004622/0.5122, allocations: 87.5 kB / 0.7266 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.5164, allocations: 1.123 MB / 0.7277 GB, free: 436 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008732/0.5252, allocations: 2.446 MB / 0.7301 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.5316, allocations: 2.277 MB / 0.7323 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007403/0.539, allocations: 4.631 MB / 0.7369 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/0.5425, allocations: 1.625 MB / 0.7385 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005253/0.5477, allocations: 1.962 MB / 0.7404 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.5505, allocations: 1.357 MB / 0.7417 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007013/0.5512, allocations: 168 kB / 0.7419 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.5559, allocations: 1.841 MB / 0.7437 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.5569, allocations: 0.5178 MB / 0.7442 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.5592, allocations: 1.034 MB / 0.7452 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.5671, allocations: 3.326 MB / 0.7484 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5671, allocations: 0 / 0.7484 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5671, allocations: 0 / 0.7484 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000122/0.5672, allocations: 4 kB / 0.7484 GB, free: 11.18 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.006657/0.5739, allocations: 2.529 MB / 0.7509 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.574, allocations: 8.031 kB / 0.7509 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.5764, allocations: 453.3 kB / 0.7513 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.5807, allocations: 1.675 MB / 0.753 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.5808, allocations: 90.2 kB / 0.7531 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.5811, allocations: 120 kB / 0.7532 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.5841, allocations: 1.345 MB / 0.7545 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.5841, allocations: 7.938 kB / 0.7545 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.5843, allocations: 51.94 kB / 0.7545 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.5843, allocations: 46 kB / 0.7546 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.5871, allocations: 1.077 MB / 0.7556 GB, free: 3.566 MB / 0.5762 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.01126/0.5984, allocations: 7.068 MB / 0.7625 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.6012, allocations: 1.348 MB / 0.7639 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.6023, allocations: 422.8 kB / 0.7643 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005909/0.6082, allocations: 3.091 MB / 0.7673 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.6093, allocations: 442.8 kB / 0.7677 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/0.6094, allocations: 0 / 0.7677 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003293/0.6127, allocations: 1.202 MB / 0.7689 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6127, allocations: 63.91 kB / 0.7689 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.6149, allocations: 1.537 MB / 0.7704 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/0.615, allocations: 41.7 kB / 0.7705 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.6158, allocations: 0.8839 MB / 0.7713 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.616, allocations: 208.9 kB / 0.7715 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.6164, allocations: 210.4 kB / 0.7717 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6165, allocations: 345.9 kB / 0.7721 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.6174, allocations: 380.6 kB / 0.7724 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.6186, allocations: 0.7476 MB / 0.7732 GB, free: 372 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.6207, allocations: 1.117 MB / 0.7742 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6207, allocations: 0 / 0.7742 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00289/0.6236, allocations: 1.29 MB / 0.7755 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.6236, allocations: 41.77 kB / 0.7755 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.6237, allocations: 12 kB / 0.7756 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.6237, allocations: 16 kB / 0.7756 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.6247, allocations: 251.6 kB / 0.7758 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.949e-05/0.6247, allocations: 27.86 kB / 0.7758 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.626, allocations: 135.7 kB / 0.776 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6261, allocations: 51.98 kB / 0.776 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/0.6276, allocations: 0.6737 MB / 0.7767 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001145/0.6287, allocations: 0.732 MB / 0.7774 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002018/0.6308, allocations: 1.089 MB / 0.7785 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.558e-06/0.6308, allocations: 4 kB / 0.7785 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002897/0.6337, allocations: 1.258 MB / 0.7797 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.6337, allocations: 37.89 kB / 0.7797 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.6338, allocations: 8 kB / 0.7797 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6338, allocations: 23.88 kB / 0.7798 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.6348, allocations: 256.1 kB / 0.78 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.6348, allocations: 19.94 kB / 0.78 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.636, allocations: 127.9 kB / 0.7801 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.6361, allocations: 51.98 kB / 0.7802 GB, free: 8.629 MB / 0.6075 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.0003315/0.6365, allocations: 255.8 kB / 0.7804 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.6368, allocations: 161.9 kB / 0.7806 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.6396, allocations: 1.115 MB / 0.7817 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.6397, allocations: 8 kB / 0.7817 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6397, allocations: 4 kB / 0.7817 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001934/0.6416, allocations: 0.9587 MB / 0.7826 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.6467, allocations: 2.409 MB / 0.785 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6467, allocations: 0 / 0.785 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.6475, allocations: 143.8 kB / 0.7851 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.6477, allocations: 28.91 kB / 0.7851 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.6478, allocations: 23.98 kB / 0.7852 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.6488, allocations: 1.414 MB / 0.7865 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6488, allocations: 3.938 kB / 0.7865 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.6521, allocations: 1.535 MB / 0.788 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/0.6527, allocations: 342.6 kB / 0.7884 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.653, allocations: 23.88 kB / 0.7884 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.654, allocations: 55.94 kB / 0.7884 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.6541, allocations: 56.48 kB / 0.7885 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.6542, allocations: 23.98 kB / 0.7885 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001855/0.656, allocations: 1.097 MB / 0.7896 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.656, allocations: 0 / 0.7896 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002648/0.6587, allocations: 0.8575 MB / 0.7904 GB, free: 13.77 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.001945/0.6607, allocations: 0.7389 MB / 0.7912 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003656/0.6643, allocations: 1.574 MB / 0.7927 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6643, allocations: 0 / 0.7927 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.6655, allocations: 0.5452 MB / 0.7932 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.6688, allocations: 0.7607 MB / 0.794 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.6746, allocations: 3.027 MB / 0.7969 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.6759, allocations: 1.356 MB / 0.7982 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00189/0.6778, allocations: 413.3 kB / 0.7986 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.6782, allocations: 143.3 kB / 0.7988 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.6782, allocations: 0 / 0.7988 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.05668/0.7349, allocations: 31.67 MB / 0.8297 GB, free: 6.082 MB / 0.6544 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)