Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.428/2.428, 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.001539/0.001539, allocations: 187.5 kB / 325.6 MB, free: 2.852 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.416/2.416, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001085/0.001084, allocations: 88.23 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006235, allocations: 15.19 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.337/8.558, allocations: 2.528 GB / 3.427 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/8.559, allocations: 107.7 kB / 3.427 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.45/22.01, allocations: 2.467 GB / 5.894 GB, free: 50.22 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.306e-06/22.01, allocations: 1.219 kB / 5.894 GB, free: 50.22 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.002396/22.01, allocations: 267.3 kB / 5.894 GB, free: 50.19 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.04896/22.06, allocations: 10.78 MB / 5.905 GB, free: 46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/22.06, allocations: 11.78 kB / 5.905 GB, free: 46 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/22.08, allocations: 2.041 MB / 5.907 GB, free: 45.42 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04597/22.13, allocations: 11.79 MB / 5.918 GB, free: 44.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009351/22.13, allocations: 0.5942 MB / 5.919 GB, free: 44.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/22.13, allocations: 0.8053 MB / 5.92 GB, free: 44.17 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/22.18, allocations: 11.11 MB / 5.93 GB, free: 43.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006343/22.18, allocations: 23.62 kB / 5.93 GB, free: 43.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003796/22.18, allocations: 333.2 kB / 5.931 GB, free: 43.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000468/22.18, allocations: 339.7 kB / 5.931 GB, free: 43.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03899/22.22, allocations: 10.32 MB / 5.941 GB, free: 42.99 MB / 0.9323 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.1118/22.33, allocations: 45.16 MB / 5.985 GB, free: 25.98 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02581/22.36, allocations: 7.911 MB / 5.993 GB, free: 25.68 MB / 0.9323 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 evalFunc (simulation): time 0.06057/22.42, allocations: 18.11 MB / 6.011 GB, free: 21.12 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01412/22.43, allocations: 3.545 MB / 6.014 GB, free: 20.95 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008037/22.44, allocations: 0.7688 MB / 6.015 GB, free: 20.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=511): time 2.71e-05/22.44, allocations: 0 / 6.015 GB, free: 20.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=511): time 0.04207/22.48, allocations: 9.416 MB / 6.024 GB, free: 19.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/22.48, allocations: 368.2 kB / 6.024 GB, free: 19.53 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02284/22.5, allocations: 7.138 MB / 6.031 GB, free: 35.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002012/22.51, allocations: 136.2 kB / 6.032 GB, free: 35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007581/22.51, allocations: 4.35 MB / 6.036 GB, free: 33.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003604/22.52, allocations: 1.764 MB / 6.038 GB, free: 32.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/22.52, allocations: 129.6 kB / 6.038 GB, free: 32.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008651/22.52, allocations: 0.562 MB / 6.038 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/22.53, allocations: 3.306 MB / 6.041 GB, free: 32.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/22.55, allocations: 5.052 MB / 6.046 GB, free: 30.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/22.56, allocations: 4.187 MB / 6.05 GB, free: 30.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.936e-05/22.56, allocations: 13.31 kB / 6.05 GB, free: 30.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03892/22.6, allocations: 9.466 MB / 6.06 GB, free: 29.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01014/22.61, allocations: 23.76 MB / 6.083 GB, free: 20.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002498/22.61, allocations: 48.66 kB / 6.083 GB, free: 20.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/22.61, allocations: 166.5 kB / 6.083 GB, free: 20.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/22.63, allocations: 1.685 MB / 6.085 GB, free: 20.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/22.63, allocations: 0.7292 MB / 6.085 GB, free: 19.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/22.65, allocations: 0.6888 MB / 6.086 GB, free: 19.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/22.65, allocations: 312.8 kB / 6.086 GB, free: 19.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/22.65, allocations: 3.938 kB / 6.086 GB, free: 19.68 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03516/22.68, allocations: 8.754 MB / 6.095 GB, free: 19.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/22.68, allocations: 51.31 kB / 6.095 GB, free: 19.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/22.68, allocations: 173.6 kB / 6.095 GB, free: 19.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01547/22.7, allocations: 1.674 MB / 6.097 GB, free: 19.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/22.7, allocations: 0.7305 MB / 6.098 GB, free: 18.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/22.72, allocations: 0.6727 MB / 6.098 GB, free: 18.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/22.72, allocations: 311.7 kB / 6.099 GB, free: 18.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 817 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.01154/22.73, allocations: 3.215 MB / 6.102 GB, free: 18.48 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004162/22.73, allocations: 0.7586 MB / 6.102 GB, free: 18.08 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0358/22.77, allocations: 7.877 MB / 6.11 GB, free: 17.26 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.451e-05/22.77, allocations: 60.64 kB / 6.11 GB, free: 17.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/22.77, allocations: 3.953 kB / 6.11 GB, free: 17.25 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02632/22.8, allocations: 6.237 MB / 6.116 GB, free: 14.75 MB / 0.9636 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.06761/22.86, allocations: 17.16 MB / 6.133 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/22.86, allocations: 0 / 6.133 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01206/22.88, allocations: 1.163 MB / 6.134 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/22.88, allocations: 95.33 kB / 6.134 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001498/22.88, allocations: 159.9 kB / 6.134 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009539/22.88, allocations: 0.6359 MB / 6.135 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/22.88, allocations: 7.109 kB / 6.135 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04243/22.92, allocations: 11.48 MB / 6.146 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01098/22.93, allocations: 2.032 MB / 6.148 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004619/22.94, allocations: 146 kB / 6.148 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01365/22.95, allocations: 0.6125 MB / 6.149 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/22.95, allocations: 308.5 kB / 6.149 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001033/22.95, allocations: 219.2 kB / 6.149 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0174/22.97, allocations: 5.623 MB / 6.155 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.203e-06/22.97, allocations: 4 kB / 6.155 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02924/23, allocations: 5.216 MB / 6.16 GB, free: 5.43 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008064/23.01, allocations: 2.424 MB / 6.162 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05833/23.07, allocations: 12.99 MB / 6.175 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.95e-05/23.07, allocations: 5.438 kB / 6.175 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/23.08, allocations: 3.395 MB / 6.178 GB, free: 8.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03538/23.12, allocations: 4.115 MB / 6.182 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9549/24.07, allocations: 23.38 MB / 6.205 GB, free: 97.13 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01711/24.09, allocations: 6.182 MB / 6.211 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03039/24.12, allocations: 4.193 MB / 6.215 GB, free: 96.13 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005789/24.13, allocations: 0.7164 MB / 6.216 GB, free: 96.13 MB / 0.9948 GB Notification: Performance of SimCode: time 1.633e-06/24.13, allocations: 1.312 kB / 6.216 GB, free: 96.13 MB / 0.9948 GB Notification: Performance of Templates: time 0.413/24.54, allocations: 170.8 MB / 6.383 GB, free: 86.17 MB / 0.9948 GB