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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006101/0.006101, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.00143/0.00143, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.61/1.61, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 0.5814 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4113, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05831/0.4696, allocations: 53.27 MB / 0.7117 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.4981, allocations: 15.18 MB / 0.7266 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/0.5024, allocations: 95.5 kB / 0.7266 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.5066, allocations: 1.111 MB / 0.7277 GB, free: 416 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008527/0.5151, allocations: 2.344 MB / 0.73 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007178/0.5223, allocations: 2.275 MB / 0.7322 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008535/0.5309, allocations: 4.611 MB / 0.7367 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003471/0.5344, allocations: 1.631 MB / 0.7383 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005505/0.5399, allocations: 1.912 MB / 0.7402 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.5429, allocations: 1.346 MB / 0.7415 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007641/0.5437, allocations: 168 kB / 0.7417 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005261/0.549, allocations: 1.841 MB / 0.7435 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.5501, allocations: 0.5217 MB / 0.744 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002529/0.5527, allocations: 1.03 MB / 0.745 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.5609, allocations: 3.352 MB / 0.7483 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5609, allocations: 0 / 0.7483 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5609, allocations: 0 / 0.7483 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001203/0.5611, allocations: 0 / 0.7483 GB, free: 11.32 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.006865/0.5679, allocations: 2.604 MB / 0.7508 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.568, allocations: 8.031 kB / 0.7508 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.5704, allocations: 466.5 kB / 0.7513 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.5757, allocations: 1.684 MB / 0.7529 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.5759, allocations: 102.2 kB / 0.753 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.5762, allocations: 120 kB / 0.7531 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.5795, allocations: 1.342 MB / 0.7544 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.5796, allocations: 7.938 kB / 0.7544 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.5797, allocations: 51.98 kB / 0.7545 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-05/0.5798, allocations: 42 kB / 0.7545 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.5828, allocations: 1.074 MB / 0.7556 GB, free: 3.602 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.01136/0.5942, allocations: 7.089 MB / 0.7625 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.5968, allocations: 1.348 MB / 0.7638 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5978, allocations: 422.9 kB / 0.7642 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005611/0.6034, allocations: 3.102 MB / 0.7672 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.6046, allocations: 442.8 kB / 0.7677 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.6046, allocations: 0 / 0.7677 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003394/0.608, allocations: 1.21 MB / 0.7688 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6081, allocations: 59.97 kB / 0.7689 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.6107, allocations: 1.537 MB / 0.7704 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/0.6108, allocations: 41.7 kB / 0.7704 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009243/0.6118, allocations: 0.8972 MB / 0.7713 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.612, allocations: 226.1 kB / 0.7715 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.6124, allocations: 206.5 kB / 0.7717 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6125, allocations: 341.9 kB / 0.7721 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009812/0.6135, allocations: 388.5 kB / 0.7724 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.6148, allocations: 0.7437 MB / 0.7732 GB, free: 352 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.6171, allocations: 1.121 MB / 0.7742 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.6171, allocations: 4 kB / 0.7743 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003158/0.6203, allocations: 1.294 MB / 0.7755 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.6203, allocations: 43.88 kB / 0.7756 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.6204, allocations: 12 kB / 0.7756 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.6204, allocations: 16 kB / 0.7756 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6215, allocations: 256.1 kB / 0.7758 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.097e-05/0.6215, allocations: 19.94 kB / 0.7758 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6227, allocations: 139.9 kB / 0.776 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.6229, allocations: 55.98 kB / 0.776 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001584/0.6245, allocations: 0.6698 MB / 0.7767 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001283/0.6257, allocations: 0.7358 MB / 0.7774 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002167/0.6279, allocations: 1.082 MB / 0.7785 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.006e-05/0.6279, allocations: 4.188 kB / 0.7785 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003102/0.6311, allocations: 1.271 MB / 0.7797 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.6311, allocations: 46.2 kB / 0.7798 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.6312, allocations: 16 kB / 0.7798 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6312, allocations: 16 kB / 0.7798 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.6322, allocations: 251.6 kB / 0.78 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.98e-05/0.6322, allocations: 23.92 kB / 0.78 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6335, allocations: 120.1 kB / 0.7802 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.6336, allocations: 51.98 kB / 0.7802 GB, free: 8.59 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.0003478/0.6339, allocations: 251.9 kB / 0.7805 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/0.6344, allocations: 170.9 kB / 0.7806 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.6375, allocations: 1.109 MB / 0.7817 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6375, allocations: 11.98 kB / 0.7817 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6375, allocations: 0 / 0.7817 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00209/0.6396, allocations: 0.9625 MB / 0.7826 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.6451, allocations: 2.401 MB / 0.785 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6452, allocations: 0 / 0.785 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.6459, allocations: 143.9 kB / 0.7851 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.6461, allocations: 24.84 kB / 0.7852 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.6462, allocations: 23.97 kB / 0.7852 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.6475, allocations: 1.421 MB / 0.7866 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6475, allocations: 3.938 kB / 0.7866 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.6514, allocations: 1.552 MB / 0.7881 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/0.6523, allocations: 347.7 kB / 0.7884 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.6526, allocations: 20.06 kB / 0.7884 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/0.6537, allocations: 63.94 kB / 0.7885 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.6538, allocations: 52.48 kB / 0.7885 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/0.6539, allocations: 27.98 kB / 0.7886 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002191/0.6561, allocations: 1.097 MB / 0.7896 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.434e-06/0.6561, allocations: 0 / 0.7896 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002998/0.6591, allocations: 0.8808 MB / 0.7905 GB, free: 13.69 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.002547/0.6617, allocations: 0.724 MB / 0.7912 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004051/0.6657, allocations: 1.581 MB / 0.7928 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.6658, allocations: 4 kB / 0.7928 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.6671, allocations: 0.5339 MB / 0.7933 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/0.671, allocations: 0.7702 MB / 0.794 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/0.6776, allocations: 3.085 MB / 0.797 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.679, allocations: 1.368 MB / 0.7984 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00174/0.6807, allocations: 413.7 kB / 0.7988 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.6812, allocations: 135.4 kB / 0.7989 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/0.6812, allocations: 0 / 0.7989 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.06043/0.7416, allocations: 31.65 MB / 0.8298 GB, free: 5.945 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (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) [Timeout 480]