Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001583, allocations: 184.3 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.5766 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001648/0.001647, allocations: 106 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 11.91 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05762/0.2771, allocations: 44.87 MB / 0.9427 GB, free: 21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.3071, allocations: 15.61 MB / 0.9579 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.3102, allocations: 71.5 kB / 0.958 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004644/0.3149, allocations: 0.9666 MB / 0.9589 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.3244, allocations: 2.314 MB / 0.9612 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.3366, allocations: 2.965 MB / 0.9641 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007636/0.3443, allocations: 2.759 MB / 0.9668 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/0.3474, allocations: 1.238 MB / 0.968 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.352, allocations: 1.354 MB / 0.9693 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.3547, allocations: 0.9176 MB / 0.9702 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.3554, allocations: 72 kB / 0.9703 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.3605, allocations: 1.353 MB / 0.9716 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3616, allocations: 394.5 kB / 0.972 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008896/0.3625, allocations: 408.6 kB / 0.9724 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/0.3683, allocations: 2.416 MB / 0.9747 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3683, allocations: 4 kB / 0.9747 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3683, allocations: 0 / 0.9747 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.752e-05/0.3684, allocations: 0 / 0.9747 GB, free: 4.113 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007027/0.3755, allocations: 2.225 MB / 0.9769 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3756, allocations: 11.97 kB / 0.9769 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.3794, allocations: 496.8 kB / 0.9774 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/0.3845, allocations: 1.521 MB / 0.9789 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006991/0.3853, allocations: 154.2 kB / 0.979 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.3857, allocations: 116 kB / 0.9791 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/0.3908, allocations: 1.372 MB / 0.9805 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.188e-05/0.391, allocations: 11.78 kB / 0.9805 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.3913, allocations: 48 kB / 0.9805 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.661e-05/0.3915, allocations: 31.98 kB / 0.9806 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008584/0.4001, allocations: 1.128 MB / 0.9817 GB, free: 12.79 MB / 0.6355 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.01708/0.4172, allocations: 7.14 MB / 0.9886 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.4219, allocations: 1.415 MB / 0.99 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007801/0.4297, allocations: 3.082 MB / 0.993 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.4317, allocations: 454.9 kB / 0.9935 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009135/0.4326, allocations: 91.25 kB / 0.9936 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.99e-06/0.4327, allocations: 3.938 kB / 0.9936 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.005819/0.4385, allocations: 1.28 MB / 0.9948 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4387, allocations: 137.1 kB / 0.9949 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.4421, allocations: 1.601 MB / 0.9965 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.4423, allocations: 41.7 kB / 0.9965 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4435, allocations: 0.8919 MB / 0.9974 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.4438, allocations: 220.9 kB / 0.9976 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.4439, allocations: 20 kB / 0.9976 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4441, allocations: 345.9 kB / 0.998 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.4458, allocations: 385.8 kB / 0.9983 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.4479, allocations: 0.7852 MB / 0.9991 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.4498, allocations: 0.5006 MB / 0.9996 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.4499, allocations: 7.953 kB / 0.9996 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004931/0.4548, allocations: 1.317 MB / 1.001 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001805/0.4566, allocations: 4.368 MB / 1.005 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/0.4568, allocations: 12 kB / 1.005 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/0.4568, allocations: 16 kB / 1.005 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.459, allocations: 271.6 kB / 1.005 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.841e-05/0.4591, allocations: 23.88 kB / 1.005 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.4614, allocations: 136.4 kB / 1.006 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.4617, allocations: 59.97 kB / 1.006 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4617, allocations: 4 kB / 1.006 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004414/0.4661, allocations: 1.145 MB / 1.007 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.4662, allocations: 12 kB / 1.007 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.4663, allocations: 20.59 kB / 1.007 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4682, allocations: 259.6 kB / 1.007 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.4683, allocations: 27.92 kB / 1.007 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.4705, allocations: 132.4 kB / 1.007 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4707, allocations: 55.98 kB / 1.007 GB, free: 0.8789 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001187/0.4719, allocations: 484.7 kB / 1.008 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.4724, allocations: 173.8 kB / 1.008 GB, free: 228 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.477, allocations: 1.159 MB / 1.009 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.477, allocations: 11.98 kB / 1.009 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4771, allocations: 0 / 1.009 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003452/0.4805, allocations: 0.9977 MB / 1.01 GB, free: 13.99 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.007307/0.4879, allocations: 2.475 MB / 1.012 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4879, allocations: 0 / 1.012 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.4894, allocations: 151.9 kB / 1.013 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.4898, allocations: 44.77 kB / 1.013 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.4899, allocations: 19.98 kB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.4918, allocations: 1.382 MB / 1.014 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4918, allocations: 8.016 kB / 1.014 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.4983, allocations: 1.631 MB / 1.016 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.4994, allocations: 362.7 kB / 1.016 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/0.4998, allocations: 15.95 kB / 1.016 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.5017, allocations: 119.9 kB / 1.016 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.5019, allocations: 52.48 kB / 1.016 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5021, allocations: 31.98 kB / 1.016 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002775/0.5048, allocations: 1.137 MB / 1.017 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.62e-07/0.5049, allocations: 0 / 1.017 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004679/0.5096, allocations: 0.9356 MB / 1.018 GB, free: 5.336 MB / 0.6667 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.x[1],mov.filter.x[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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002632/0.5123, allocations: 0.7627 MB / 1.019 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006445/0.5188, allocations: 1.701 MB / 1.021 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.5188, allocations: 0 / 1.021 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.521, allocations: 0.5738 MB / 1.021 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/0.527, allocations: 0.7307 MB / 1.022 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.5374, allocations: 3.765 MB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.5391, allocations: 1.407 MB / 1.027 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003118/0.5423, allocations: 426.2 kB / 1.027 GB, free: 12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.5431, allocations: 147.4 kB / 1.027 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/0.5432, allocations: 3.938 kB / 1.027 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.7113/1.254, allocations: 31.51 MB / 1.058 GB, free: 145.7 MB / 0.698 GB