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.001088/0.001088, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001114/0.001114, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.317/1.317, 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/package.mo): time 0.7748/0.7748, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3399, allocations: 80.19 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04444/0.3844, allocations: 53.27 MB / 0.6335 GB, free: 8.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.4065, allocations: 15.19 MB / 0.6483 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.4098, allocations: 91.5 kB / 0.6484 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.4136, allocations: 1.107 MB / 0.6495 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.4206, allocations: 2.355 MB / 0.6518 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00592/0.4265, allocations: 2.266 MB / 0.654 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006917/0.4335, allocations: 4.625 MB / 0.6585 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.4363, allocations: 1.623 MB / 0.6601 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/0.4409, allocations: 1.911 MB / 0.662 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.4433, allocations: 1.357 MB / 0.6633 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.4437, allocations: 168 kB / 0.6635 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.4474, allocations: 1.837 MB / 0.6653 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.448, allocations: 0.5215 MB / 0.6658 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.4493, allocations: 1.034 MB / 0.6668 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.4541, allocations: 3.322 MB / 0.67 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4541, allocations: 0 / 0.67 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4541, allocations: 0 / 0.67 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.4541, allocations: 0 / 0.67 GB, free: 3.344 MB / 0.4981 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.004175/0.4583, allocations: 2.525 MB / 0.6725 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4584, allocations: 12.03 kB / 0.6725 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4604, allocations: 457.5 kB / 0.6729 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.4637, allocations: 1.675 MB / 0.6746 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.4638, allocations: 90.2 kB / 0.6747 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.464, allocations: 120 kB / 0.6748 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.4668, allocations: 1.343 MB / 0.6761 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.4668, allocations: 7.938 kB / 0.6761 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.4669, allocations: 48 kB / 0.6761 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.467, allocations: 42 kB / 0.6762 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.4695, allocations: 1.074 MB / 0.6772 GB, free: 11.74 MB / 0.5137 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.009639/0.4792, allocations: 7.072 MB / 0.6841 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.4815, allocations: 1.36 MB / 0.6855 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.4825, allocations: 418.8 kB / 0.6859 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005244/0.4877, allocations: 3.09 MB / 0.6889 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.4888, allocations: 434.9 kB / 0.6893 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/0.4888, allocations: 3.938 kB / 0.6893 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003136/0.492, allocations: 1.205 MB / 0.6905 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.492, allocations: 63.97 kB / 0.6905 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/0.4946, allocations: 1.533 MB / 0.692 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.4947, allocations: 45.7 kB / 0.6921 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.4955, allocations: 0.8684 MB / 0.6929 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.4957, allocations: 220.9 kB / 0.6931 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.4961, allocations: 206.3 kB / 0.6933 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4962, allocations: 345.9 kB / 0.6937 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4972, allocations: 380.6 kB / 0.694 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.4985, allocations: 0.7514 MB / 0.6948 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.5006, allocations: 1.113 MB / 0.6958 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.5007, allocations: 3.938 kB / 0.6958 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00302/0.5037, allocations: 1.29 MB / 0.6971 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.5037, allocations: 45.62 kB / 0.6971 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.5038, allocations: 8 kB / 0.6972 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.5038, allocations: 16 kB / 0.6972 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5049, allocations: 255.6 kB / 0.6974 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.34e-05/0.5049, allocations: 24 kB / 0.6974 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.5062, allocations: 135.6 kB / 0.6976 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5063, allocations: 51.98 kB / 0.6976 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00153/0.5079, allocations: 0.6743 MB / 0.6983 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/0.5091, allocations: 0.7319 MB / 0.699 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002012/0.5111, allocations: 1.086 MB / 0.7001 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.548e-06/0.5111, allocations: 4 kB / 0.7001 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002954/0.5141, allocations: 1.274 MB / 0.7013 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.5142, allocations: 37.7 kB / 0.7013 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.5142, allocations: 8 kB / 0.7013 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5142, allocations: 16 kB / 0.7014 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/0.5152, allocations: 260.2 kB / 0.7016 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.5152, allocations: 23.92 kB / 0.7016 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5165, allocations: 120 kB / 0.7017 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5166, allocations: 51.98 kB / 0.7018 GB, free: 0.7734 MB / 0.5294 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.0003046/0.5169, allocations: 247.9 kB / 0.702 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/0.5173, allocations: 165.9 kB / 0.7022 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.5201, allocations: 1.099 MB / 0.7033 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.5202, allocations: 11.98 kB / 0.7033 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5202, allocations: 0 / 0.7033 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001909/0.5221, allocations: 0.9548 MB / 0.7042 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.5273, allocations: 2.413 MB / 0.7066 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.5273, allocations: 3.938 kB / 0.7066 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.5281, allocations: 139.8 kB / 0.7067 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.5283, allocations: 28.91 kB / 0.7067 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.5284, allocations: 23.97 kB / 0.7067 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.5295, allocations: 1.419 MB / 0.7081 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5295, allocations: 7.969 kB / 0.7081 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.533, allocations: 1.539 MB / 0.7096 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.5338, allocations: 350.5 kB / 0.71 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.5342, allocations: 12 kB / 0.71 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.5352, allocations: 63.88 kB / 0.71 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5353, allocations: 56.48 kB / 0.7101 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.5354, allocations: 23.98 kB / 0.7101 GB, free: 7.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001891/0.5373, allocations: 1.093 MB / 0.7112 GB, free: 6.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5373, allocations: 4 kB / 0.7112 GB, free: 6.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002632/0.54, allocations: 0.8576 MB / 0.712 GB, free: 5.926 MB / 0.545 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.001866/0.5418, allocations: 0.7285 MB / 0.7127 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.5456, allocations: 1.582 MB / 0.7143 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5456, allocations: 128 / 0.7143 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.5468, allocations: 0.5408 MB / 0.7148 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.5504, allocations: 0.7732 MB / 0.7156 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.5563, allocations: 3.019 MB / 0.7185 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.5575, allocations: 1.36 MB / 0.7199 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001683/0.5592, allocations: 415.1 kB / 0.7202 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.5597, allocations: 135.4 kB / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/0.5597, allocations: 0 / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.2982/0.858, allocations: 31.47 MB / 0.7511 GB, free: 155.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)