Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, 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.001536/0.001536, allocations: 183.4 kB / 325.6 MB, free: 2.824 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.518/2.518, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001159/0.001159, allocations: 93.67 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 15.19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05871/0.2654, allocations: 44.86 MB / 0.9427 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03009/0.2956, allocations: 15.61 MB / 0.9579 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.2989, allocations: 75.44 kB / 0.958 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.3036, allocations: 0.9603 MB / 0.9589 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009822/0.3135, allocations: 2.329 MB / 0.9612 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.3261, allocations: 2.945 MB / 0.9641 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.3339, allocations: 2.764 MB / 0.9668 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/0.3372, allocations: 1.238 MB / 0.968 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/0.3418, allocations: 1.354 MB / 0.9693 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.3444, allocations: 0.9176 MB / 0.9702 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006008/0.345, allocations: 68 kB / 0.9703 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.3502, allocations: 1.353 MB / 0.9716 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.3513, allocations: 402.4 kB / 0.972 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008975/0.3522, allocations: 404.6 kB / 0.9724 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.358, allocations: 2.42 MB / 0.9747 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.358, allocations: 0 / 0.9747 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.358, allocations: 4 kB / 0.9747 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.481e-05/0.3581, allocations: 4 kB / 0.9747 GB, free: 3.617 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.006766/0.3649, allocations: 2.224 MB / 0.9769 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.365, allocations: 8.031 kB / 0.9769 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.3697, allocations: 492.8 kB / 0.9774 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005348/0.3751, allocations: 1.528 MB / 0.9789 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007754/0.3759, allocations: 162.2 kB / 0.979 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.3764, allocations: 124 kB / 0.9792 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/0.3812, allocations: 1.368 MB / 0.9805 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.3813, allocations: 7.906 kB / 0.9805 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3815, allocations: 44 kB / 0.9805 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.3816, allocations: 28 kB / 0.9806 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.3867, allocations: 1.128 MB / 0.9817 GB, free: 12.29 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.01542/0.4021, allocations: 7.136 MB / 0.9886 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.4068, allocations: 1.415 MB / 0.99 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008397/0.4153, allocations: 3.071 MB / 0.993 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.4172, allocations: 458.8 kB / 0.9935 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008149/0.4181, allocations: 91.23 kB / 0.9935 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 5.541e-06/0.4181, allocations: 7.984 kB / 0.9936 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.005557/0.4236, allocations: 1.284 MB / 0.9948 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.4238, allocations: 141 kB / 0.9949 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.4272, allocations: 1.598 MB / 0.9965 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.4275, allocations: 45.7 kB / 0.9965 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.4286, allocations: 0.892 MB / 0.9974 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.4289, allocations: 212.9 kB / 0.9976 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.429, allocations: 20 kB / 0.9976 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4292, allocations: 341.9 kB / 0.998 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.431, allocations: 393.8 kB / 0.9983 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.4331, allocations: 0.7831 MB / 0.9991 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.435, allocations: 0.5044 MB / 0.9996 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.435, allocations: 3.953 kB / 0.9996 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004913/0.4399, allocations: 1.325 MB / 1.001 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.442, allocations: 4.36 MB / 1.005 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.671e-05/0.4422, allocations: 12 kB / 1.005 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.724e-05/0.4422, allocations: 20 kB / 1.005 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.4444, allocations: 267.6 kB / 1.005 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.146e-05/0.4445, allocations: 27.86 kB / 1.005 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.4468, allocations: 136.4 kB / 1.006 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4471, allocations: 59.97 kB / 1.006 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4471, allocations: 4 kB / 1.006 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004302/0.4514, allocations: 1.15 MB / 1.007 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.4515, allocations: 12 kB / 1.007 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.4515, allocations: 16 kB / 1.007 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.4534, allocations: 267.7 kB / 1.007 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.4535, allocations: 19.94 kB / 1.007 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.4556, allocations: 132.4 kB / 1.007 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.4558, allocations: 55.98 kB / 1.007 GB, free: 400 kB / 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.001162/0.457, allocations: 488.7 kB / 1.008 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.4574, allocations: 173.8 kB / 1.008 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.4619, allocations: 1.167 MB / 1.009 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.462, allocations: 8 kB / 1.009 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.462, allocations: 0 / 1.009 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003527/0.4656, allocations: 1.005 MB / 1.01 GB, free: 13.48 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.007494/0.4731, allocations: 2.467 MB / 1.012 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.4732, allocations: 0 / 1.012 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.4746, allocations: 155.8 kB / 1.013 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.4749, allocations: 36.83 kB / 1.013 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.475, allocations: 19.98 kB / 1.013 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.4768, allocations: 1.382 MB / 1.014 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4768, allocations: 0 / 1.014 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/0.4828, allocations: 1.639 MB / 1.016 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.484, allocations: 354.7 kB / 1.016 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/0.4844, allocations: 23.88 kB / 1.016 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.4863, allocations: 123.8 kB / 1.016 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.4865, allocations: 48.48 kB / 1.016 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.4866, allocations: 36.09 kB / 1.016 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002595/0.4892, allocations: 1.137 MB / 1.017 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4893, allocations: 0 / 1.017 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004218/0.4935, allocations: 0.9278 MB / 1.018 GB, free: 4.848 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,coo.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.002579/0.4961, allocations: 0.7562 MB / 1.019 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006299/0.5025, allocations: 1.706 MB / 1.021 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5025, allocations: 0 / 1.021 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.5047, allocations: 0.5724 MB / 1.021 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/0.5108, allocations: 0.7364 MB / 1.022 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.5207, allocations: 3.769 MB / 1.026 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.5222, allocations: 1.403 MB / 1.027 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003037/0.5252, allocations: 434.1 kB / 1.027 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/0.526, allocations: 143.4 kB / 1.027 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/0.526, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.6854/1.211, allocations: 31.51 MB / 1.058 GB, free: 145 MB / 0.698 GB