Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.146/5.146, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00253/0.00253, allocations: 357 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.246/4.246, allocations: 410.7 MB / 1.113 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001892/0.001892, allocations: 191.1 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006914/0.0006917, allocations: 16 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.794, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.82/8.614, allocations: 2.411 GB / 3.873 GB, free: 259.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/8.615, allocations: 104.6 kB / 3.873 GB, free: 259.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.03/21.65, allocations: 2.511 GB / 6.383 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.284e-06/21.65, allocations: 0 / 6.383 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001981/21.65, allocations: 263.8 kB / 6.384 GB, free: 9.703 MB / 0.9948 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.04995/21.7, allocations: 10.79 MB / 6.394 GB, free: 14.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/21.7, allocations: 19.5 kB / 6.394 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/21.72, allocations: 2.044 MB / 6.396 GB, free: 12.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04857/21.77, allocations: 11.27 MB / 6.407 GB, free: 1.379 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/21.77, allocations: 0.6051 MB / 6.408 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/21.78, allocations: 0.8006 MB / 6.408 GB, free: 15.97 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0473/21.82, allocations: 11.27 MB / 6.419 GB, free: 4.379 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006348/21.82, allocations: 23.78 kB / 6.419 GB, free: 4.355 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003958/21.83, allocations: 343.9 kB / 6.42 GB, free: 4.02 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004998/21.83, allocations: 335 kB / 6.42 GB, free: 3.691 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9932/22.82, allocations: 10.31 MB / 6.43 GB, free: 91.23 MB / 1.026 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.1232/22.95, allocations: 44.94 MB / 6.474 GB, free: 75 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02521/22.97, allocations: 7.731 MB / 6.482 GB, free: 74.71 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01353/22.98, allocations: 4.053 MB / 6.486 GB, free: 74.65 MB / 1.026 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.0613/23.05, allocations: 18.01 MB / 6.503 GB, free: 70.26 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01439/23.06, allocations: 3.622 MB / 6.507 GB, free: 70.15 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008233/23.07, allocations: 0.7316 MB / 6.507 GB, free: 70.02 MB / 1.026 GB Notification: Performance of pre-optimization done (n=509): time 2.808e-05/23.07, allocations: 2.062 kB / 6.507 GB, free: 70.02 MB / 1.026 GB Notification: Performance of matching and sorting (n=509): time 0.04161/23.11, allocations: 9.385 MB / 6.517 GB, free: 69.38 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/23.11, allocations: 373.7 kB / 6.517 GB, free: 69 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0229/23.13, allocations: 7.426 MB / 6.524 GB, free: 68.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002204/23.14, allocations: 136.9 kB / 6.524 GB, free: 68.46 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007988/23.14, allocations: 4.356 MB / 6.529 GB, free: 67.38 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003771/23.15, allocations: 1.753 MB / 6.53 GB, free: 66.32 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/23.15, allocations: 132.6 kB / 6.53 GB, free: 66.32 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0007879/23.15, allocations: 0.5665 MB / 6.531 GB, free: 66 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01274/23.16, allocations: 3.304 MB / 6.534 GB, free: 65.99 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/23.18, allocations: 5.063 MB / 6.539 GB, free: 64.08 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/23.19, allocations: 4.18 MB / 6.543 GB, free: 63.98 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.049e-05/23.19, allocations: 13.38 kB / 6.543 GB, free: 63.98 MB / 1.026 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03975/23.23, allocations: 9.426 MB / 6.552 GB, free: 63.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001257/23.23, allocations: 1.492 MB / 6.554 GB, free: 61.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/23.23, allocations: 47.09 kB / 6.554 GB, free: 61.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/23.24, allocations: 166.6 kB / 6.554 GB, free: 61.58 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/23.25, allocations: 1.603 MB / 6.556 GB, free: 61.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/23.25, allocations: 0.7274 MB / 6.556 GB, free: 61.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/23.27, allocations: 0.681 MB / 6.557 GB, free: 61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002883/23.27, allocations: 312.7 kB / 6.557 GB, free: 61 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/23.27, allocations: 4.938 kB / 6.557 GB, free: 61 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03572/23.31, allocations: 8.734 MB / 6.566 GB, free: 60.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/23.31, allocations: 50.09 kB / 6.566 GB, free: 60.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/23.31, allocations: 173.8 kB / 6.566 GB, free: 60.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/23.32, allocations: 1.59 MB / 6.568 GB, free: 60.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/23.32, allocations: 0.7288 MB / 6.568 GB, free: 60.29 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/23.34, allocations: 0.6587 MB / 6.569 GB, free: 60.25 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/23.34, allocations: 312.2 kB / 6.569 GB, free: 60.25 MB / 1.026 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 (819): * Single equations (assignments): 815 * 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.01152/23.35, allocations: 3.222 MB / 6.572 GB, free: 60.03 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003543/23.36, allocations: 0.7684 MB / 6.573 GB, free: 59.62 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03352/23.39, allocations: 7.85 MB / 6.581 GB, free: 59.23 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-05/23.39, allocations: 57.77 kB / 6.581 GB, free: 59.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/23.39, allocations: 5.906 kB / 6.581 GB, free: 59.23 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02483/23.41, allocations: 6.214 MB / 6.587 GB, free: 58.79 MB / 1.026 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.06255/23.48, allocations: 17.06 MB / 6.604 GB, free: 57.86 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.027e-05/23.48, allocations: 0 / 6.604 GB, free: 57.86 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01224/23.49, allocations: 1.156 MB / 6.605 GB, free: 57.86 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006013/23.49, allocations: 97.33 kB / 6.605 GB, free: 57.86 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001534/23.49, allocations: 156.8 kB / 6.605 GB, free: 57.86 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008208/23.49, allocations: 0.6271 MB / 6.606 GB, free: 57.34 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/23.49, allocations: 0.8438 kB / 6.606 GB, free: 57.34 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04226/23.54, allocations: 11.3 MB / 6.617 GB, free: 56.41 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008415/23.54, allocations: 1.861 MB / 6.618 GB, free: 55.89 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00366/23.55, allocations: 112.5 kB / 6.619 GB, free: 55.89 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01384/23.56, allocations: 0.5809 MB / 6.619 GB, free: 55.86 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/23.56, allocations: 309 kB / 6.619 GB, free: 55.85 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00126/23.56, allocations: 231.3 kB / 6.62 GB, free: 55.85 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01588/23.58, allocations: 5.195 MB / 6.625 GB, free: 55.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.02e-07/23.58, allocations: 0 / 6.625 GB, free: 55.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02907/23.61, allocations: 5.174 MB / 6.63 GB, free: 54.89 MB / 1.026 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 (534): * Single equations (assignments): 523 * 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.007851/23.62, allocations: 2.395 MB / 6.632 GB, free: 54.46 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0422/23.66, allocations: 12.2 MB / 6.644 GB, free: 54.22 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/23.66, allocations: 6.344 kB / 6.644 GB, free: 54.21 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/23.67, allocations: 3.379 MB / 6.647 GB, free: 54.18 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03975/23.71, allocations: 4.216 MB / 6.651 GB, free: 54.15 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06382/23.78, allocations: 23.42 MB / 6.674 GB, free: 44.49 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/23.79, allocations: 6.181 MB / 6.68 GB, free: 42.57 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03096/23.82, allocations: 4.16 MB / 6.684 GB, free: 42.16 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005634/23.83, allocations: 0.7136 MB / 6.685 GB, free: 42.11 MB / 1.026 GB Notification: Performance of SimCode: time 1.723e-06/23.83, allocations: 4 kB / 6.685 GB, free: 42.1 MB / 1.026 GB Notification: Performance of Templates: time 1.327/25.16, allocations: 169.3 MB / 6.851 GB, free: 113.2 MB / 1.057 GB