Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001578/0.001578, allocations: 184.3 kB / 325.6 MB, free: 2.848 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.402/2.402, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001149/0.001149, allocations: 99.92 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006443, allocations: 15.38 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07387/0.2923, allocations: 56.25 MB / 0.9538 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03524/0.3276, allocations: 16.99 MB / 0.9704 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.3325, allocations: 71.5 kB / 0.9705 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00761/0.3402, allocations: 1.007 MB / 0.9715 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.3581, allocations: 2.649 MB / 0.974 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.02116/0.3793, allocations: 3.073 MB / 0.977 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.3899, allocations: 3.145 MB / 0.9801 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.3932, allocations: 1.368 MB / 0.9815 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.3981, allocations: 1.452 MB / 0.9829 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.4007, allocations: 0.972 MB / 0.9838 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.4012, allocations: 76 kB / 0.9839 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005357/0.4065, allocations: 1.431 MB / 0.9853 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.4077, allocations: 410.4 kB / 0.9857 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.4087, allocations: 444.5 kB / 0.9861 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006279/0.415, allocations: 2.65 MB / 0.9887 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4151, allocations: 3.938 kB / 0.9887 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4151, allocations: 0 / 0.9887 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001014/0.4152, allocations: 0 / 0.9887 GB, free: 5.336 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007051/0.4223, allocations: 2.333 MB / 0.991 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.4224, allocations: 12.02 kB / 0.991 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.4251, allocations: 389 kB / 0.9914 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/0.4305, allocations: 1.653 MB / 0.993 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007297/0.4313, allocations: 170.4 kB / 0.9931 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.4317, allocations: 136 kB / 0.9933 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.4362, allocations: 1.442 MB / 0.9947 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.4363, allocations: 3.938 kB / 0.9947 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.4365, allocations: 55.91 kB / 0.9947 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.4366, allocations: 36 kB / 0.9948 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.441, allocations: 1.118 MB / 0.9959 GB, free: 13.78 MB / 0.6511 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.01487/0.4559, allocations: 7.433 MB / 1.003 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.46, allocations: 1.359 MB / 1.004 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006614/0.4666, allocations: 2.596 MB / 1.007 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.4684, allocations: 462.8 kB / 1.007 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009496/0.4694, allocations: 91.25 kB / 1.008 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 4.027e-06/0.4694, allocations: 0 / 1.008 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.005485/0.4749, allocations: 1.284 MB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.4751, allocations: 137.1 kB / 1.009 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.4785, allocations: 1.56 MB / 1.01 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.4788, allocations: 45.7 kB / 1.01 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.4799, allocations: 0.9076 MB / 1.011 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.4803, allocations: 232.7 kB / 1.012 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.4804, allocations: 16 kB / 1.012 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4807, allocations: 341.9 kB / 1.012 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4824, allocations: 394.1 kB / 1.012 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.4844, allocations: 0.7542 MB / 1.013 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4862, allocations: 0.4961 MB / 1.014 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.4862, allocations: 4 kB / 1.014 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004696/0.4909, allocations: 1.304 MB / 1.015 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.4925, allocations: 3.827 MB / 1.019 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.4926, allocations: 8 kB / 1.019 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/0.4926, allocations: 16 kB / 1.019 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.4948, allocations: 271.5 kB / 1.019 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.573e-05/0.4948, allocations: 19.94 kB / 1.019 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.4973, allocations: 144.4 kB / 1.019 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.4976, allocations: 55.97 kB / 1.019 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4976, allocations: 4 kB / 1.019 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004457/0.5021, allocations: 1.14 MB / 1.02 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.5021, allocations: 11.94 kB / 1.02 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.5022, allocations: 16 kB / 1.02 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.5042, allocations: 263.9 kB / 1.02 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/0.5042, allocations: 19.92 kB / 1.02 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.5067, allocations: 148.4 kB / 1.021 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.507, allocations: 55.98 kB / 1.021 GB, free: 2.875 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (123): * Single equations (assignments): 119 * 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.00137/0.5083, allocations: 492.7 kB / 1.021 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.5089, allocations: 169.8 kB / 1.021 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.5133, allocations: 1.135 MB / 1.022 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.5133, allocations: 11.98 kB / 1.022 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5134, allocations: 4 kB / 1.022 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003189/0.5166, allocations: 0.8315 MB / 1.023 GB, free: 208 kB / 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.007691/0.5243, allocations: 2.624 MB / 1.026 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.5243, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.5258, allocations: 164 kB / 1.026 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.5261, allocations: 40.83 kB / 1.026 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5263, allocations: 23.94 kB / 1.026 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.528, allocations: 1.386 MB / 1.027 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.528, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.5342, allocations: 1.768 MB / 1.029 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.5355, allocations: 383 kB / 1.029 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.5359, allocations: 27.98 kB / 1.029 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.538, allocations: 125.6 kB / 1.03 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.5383, allocations: 68.36 kB / 1.03 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.5385, allocations: 43.95 kB / 1.03 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002632/0.5411, allocations: 1.121 MB / 1.031 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5412, allocations: 0 / 1.031 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004193/0.5454, allocations: 1.002 MB / 1.032 GB, free: 7.043 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00185/0.5473, allocations: 0.5665 MB / 1.032 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006092/0.5534, allocations: 1.69 MB / 1.034 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.5534, allocations: 5.312 kB / 1.034 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.5556, allocations: 0.5685 MB / 1.035 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007002/0.5627, allocations: 0.8569 MB / 1.035 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/0.5723, allocations: 3.895 MB / 1.039 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.5737, allocations: 1.448 MB / 1.041 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00305/0.5768, allocations: 434.6 kB / 1.041 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/0.5776, allocations: 147.4 kB / 1.041 GB, free: 13.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/0.5776, allocations: 0 / 1.041 GB, free: 13.3 MB / 0.698 GB Notification: Performance of Templates: time 0.6753/1.253, allocations: 34.64 MB / 1.075 GB, free: 139.7 MB / 0.698 GB