Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00171/0.00171, allocations: 111.8 kB / 16.41 MB, free: 6.48 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.001855/0.001855, allocations: 183 kB / 17.34 MB, free: 5.75 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8427/0.8427, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.48 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1734, allocations: 80.93 MB / 0.6654 GB, free: 5.676 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.06006/0.2334, allocations: 53.35 MB / 0.7175 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.2593, allocations: 15.2 MB / 0.7324 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.2628, allocations: 87.5 kB / 0.7325 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.2667, allocations: 1.142 MB / 0.7336 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007731/0.2744, allocations: 2.441 MB / 0.736 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006892/0.2813, allocations: 2.28 MB / 0.7382 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008609/0.2899, allocations: 4.631 MB / 0.7427 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.2928, allocations: 1.369 MB / 0.744 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.2981, allocations: 1.963 MB / 0.746 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.3008, allocations: 1.361 MB / 0.7473 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004055/0.3012, allocations: 164 kB / 0.7474 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4333/0.7345, allocations: 1.844 MB / 0.7492 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.7361, allocations: 0.5326 MB / 0.7498 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.739, allocations: 1.036 MB / 0.7508 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.75, allocations: 3.347 MB / 0.754 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.75, allocations: 0.6562 kB / 0.754 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.75, allocations: 0 / 0.754 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001053/0.7501, allocations: 0 / 0.754 GB, free: 9.973 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.006916/0.757, allocations: 2.593 MB / 0.7566 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7571, allocations: 11.33 kB / 0.7566 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.7596, allocations: 462.1 kB / 0.757 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.764, allocations: 1.692 MB / 0.7587 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7641, allocations: 90.67 kB / 0.7588 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.7644, allocations: 123 kB / 0.7589 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.7677, allocations: 1.346 MB / 0.7602 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.7677, allocations: 1.734 kB / 0.7602 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.7679, allocations: 46.59 kB / 0.7602 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/0.768, allocations: 49.09 kB / 0.7603 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.7713, allocations: 1.075 MB / 0.7613 GB, free: 7.707 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.01021/0.7815, allocations: 7.083 MB / 0.7683 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.7838, allocations: 1.31 MB / 0.7695 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/0.7848, allocations: 385.9 kB / 0.7699 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005902/0.7907, allocations: 3.093 MB / 0.7729 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.7918, allocations: 438 kB / 0.7733 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.7918, allocations: 0.9375 kB / 0.7733 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003394/0.7952, allocations: 1.221 MB / 0.7745 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.7952, allocations: 61.88 kB / 0.7746 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.7975, allocations: 1.535 MB / 0.7761 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.7976, allocations: 39.45 kB / 0.7761 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008288/0.7984, allocations: 0.8961 MB / 0.777 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.7987, allocations: 224.5 kB / 0.7772 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.7991, allocations: 203.8 kB / 0.7774 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7993, allocations: 348.5 kB / 0.7777 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.8004, allocations: 378 kB / 0.7781 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.8016, allocations: 0.7539 MB / 0.7788 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.8038, allocations: 1.115 MB / 0.7799 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8038, allocations: 3.281 kB / 0.7799 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002997/0.8068, allocations: 1.294 MB / 0.7812 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.8069, allocations: 38.75 kB / 0.7812 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.8069, allocations: 14.41 kB / 0.7813 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/0.8069, allocations: 19.72 kB / 0.7813 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8079, allocations: 251.8 kB / 0.7815 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/0.808, allocations: 26.62 kB / 0.7815 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.8093, allocations: 141.5 kB / 0.7817 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8094, allocations: 52.06 kB / 0.7817 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001633/0.8111, allocations: 0.6661 MB / 0.7824 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00109/0.8122, allocations: 0.7365 MB / 0.7831 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001947/0.8141, allocations: 1.086 MB / 0.7842 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.214e-06/0.8141, allocations: 7.062 kB / 0.7842 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002862/0.817, allocations: 1.268 MB / 0.7854 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.817, allocations: 38.75 kB / 0.7854 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.817, allocations: 12.47 kB / 0.7854 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.817, allocations: 18.69 kB / 0.7855 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.818, allocations: 257.2 kB / 0.7857 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.818, allocations: 25.94 kB / 0.7857 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.8194, allocations: 121.9 kB / 0.7859 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.8195, allocations: 49.47 kB / 0.7859 GB, free: 13.12 MB / 0.5919 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.0004322/0.8199, allocations: 252.6 kB / 0.7861 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.8202, allocations: 171.8 kB / 0.7863 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.8231, allocations: 1.11 MB / 0.7874 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.8231, allocations: 8.516 kB / 0.7874 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.8231, allocations: 1.375 kB / 0.7874 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002061/0.8252, allocations: 0.9553 MB / 0.7883 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.8302, allocations: 2.406 MB / 0.7907 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8302, allocations: 7.031 kB / 0.7907 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.8309, allocations: 140.4 kB / 0.7908 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.8311, allocations: 25.47 kB / 0.7908 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.8311, allocations: 29.3 kB / 0.7909 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.8324, allocations: 1.424 MB / 0.7923 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8324, allocations: 0 / 0.7923 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.8358, allocations: 1.545 MB / 0.7938 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/0.8366, allocations: 349.8 kB / 0.7941 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.8368, allocations: 18.98 kB / 0.7941 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.8376, allocations: 56.53 kB / 0.7942 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.8378, allocations: 61.34 kB / 0.7942 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.8379, allocations: 30.08 kB / 0.7943 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001657/0.8395, allocations: 1.088 MB / 0.7953 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8395, allocations: 0 / 0.7953 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002978/0.8425, allocations: 0.8761 MB / 0.7962 GB, free: 9.883 MB / 0.5919 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.002576/0.8451, allocations: 0.7289 MB / 0.7969 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.8488, allocations: 1.515 MB / 0.7984 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8488, allocations: 0 / 0.7984 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.85, allocations: 0.5102 MB / 0.7989 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.8538, allocations: 0.7642 MB / 0.7996 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/0.8602, allocations: 3.169 MB / 0.8027 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009497/0.8611, allocations: 1.352 MB / 0.804 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/0.8618, allocations: 146.3 kB / 0.8042 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.8618, allocations: 0 / 0.8042 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of Templates: time 0.05588/0.9177, allocations: 33.56 MB / 0.8369 GB, free: 12.03 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)