Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.197/2.197, allocations: 253.2 MB / 260.6 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 181.5 kB / 319.9 MB, free: 3.105 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.096/2.096, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001189/0.001189, allocations: 94.69 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.697e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 106.2 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.575/7.798, allocations: 2.228 GB / 3.117 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/7.798, allocations: 88.2 kB / 3.117 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.769/15.57, allocations: 1.401 GB / 4.518 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.515e-06/15.57, allocations: 4 kB / 4.518 GB, free: 60.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008911/15.57, allocations: 131.8 kB / 4.518 GB, free: 60.68 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02271/15.59, allocations: 5.518 MB / 4.523 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/15.59, allocations: 12.03 kB / 4.523 GB, free: 55.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/15.61, allocations: 1.597 MB / 4.525 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02117/15.63, allocations: 5.234 MB / 4.53 GB, free: 48.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/15.63, allocations: 120 kB / 4.53 GB, free: 48.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/15.63, allocations: 216 kB / 4.53 GB, free: 47.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01396/15.65, allocations: 4.434 MB / 4.534 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/15.66, allocations: 4.599 MB / 4.539 GB, free: 38.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/15.66, allocations: 11.94 kB / 4.539 GB, free: 38.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/15.66, allocations: 8 kB / 4.539 GB, free: 38.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/15.66, allocations: 155.3 kB / 4.539 GB, free: 38.47 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.05052/15.72, allocations: 18.49 MB / 4.557 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007802/15.72, allocations: 3.274 MB / 4.56 GB, free: 16.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/15.73, allocations: 1.618 MB / 4.562 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003291/15.73, allocations: 2.537 MB / 4.564 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005118/15.74, allocations: 1.823 MB / 4.566 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=284): time 7.815e-06/15.74, allocations: 0 / 4.566 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=284): time 0.1323/15.87, allocations: 8.048 MB / 4.574 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/15.87, allocations: 291.2 kB / 4.574 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009105/15.88, allocations: 2.862 MB / 4.577 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/15.88, allocations: 25.7 kB / 4.577 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003909/15.88, allocations: 1.943 MB / 4.579 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/15.89, allocations: 0.9353 MB / 4.58 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/15.89, allocations: 0 / 4.58 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004547/15.89, allocations: 424.1 kB / 4.58 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/15.89, allocations: 1.337 MB / 4.582 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005963/15.9, allocations: 1.962 MB / 4.583 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.079/16.98, allocations: 13.34 MB / 4.597 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-05/16.98, allocations: 6.344 kB / 4.597 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.3565/17.33, allocations: 15.46 MB / 4.612 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001494/17.33, allocations: 6.445 MB / 4.618 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.311e-05/17.33, allocations: 15.28 kB / 4.618 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/17.34, allocations: 109 kB / 4.618 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008357/17.34, allocations: 0.7967 MB / 4.619 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/17.35, allocations: 2.097 MB / 4.621 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00882/17.36, allocations: 446.5 kB / 4.621 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/17.36, allocations: 157.5 kB / 4.621 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/17.36, allocations: 3.969 kB / 4.621 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.348/17.7, allocations: 15.08 MB / 4.636 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-05/17.71, allocations: 15.66 kB / 4.636 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/17.71, allocations: 116.5 kB / 4.636 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007839/17.71, allocations: 0.785 MB / 4.637 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/17.72, allocations: 1.508 MB / 4.639 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/17.72, allocations: 409.9 kB / 4.639 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007802/17.73, allocations: 160.9 kB / 4.639 GB, free: 129.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001191/17.73, allocations: 174.9 kB / 4.639 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/17.73, allocations: 359.5 kB / 4.64 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1331/17.86, allocations: 8.953 MB / 4.648 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/17.86, allocations: 32.33 kB / 4.648 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/17.86, allocations: 0 / 4.648 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1285/17.99, allocations: 7.975 MB / 4.656 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1434/18.13, allocations: 13.34 MB / 4.669 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/18.13, allocations: 0 / 4.669 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006904/18.14, allocations: 0.6185 MB / 4.67 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/18.14, allocations: 454.8 kB / 4.67 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008937/18.14, allocations: 66.5 kB / 4.67 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00727/18.15, allocations: 7.515 MB / 4.678 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/18.15, allocations: 3.875 kB / 4.678 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1365/18.29, allocations: 10.42 MB / 4.688 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004556/18.29, allocations: 1.103 MB / 4.689 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/18.29, allocations: 18.73 kB / 4.689 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007831/18.3, allocations: 269.3 kB / 4.689 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/18.3, allocations: 190.9 kB / 4.689 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000634/18.3, allocations: 138.1 kB / 4.689 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005725/18.31, allocations: 2.191 MB / 4.692 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.52e-07/18.31, allocations: 0 / 4.692 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01599/18.33, allocations: 2.753 MB / 4.694 GB, free: 119.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00582/18.33, allocations: 1.819 MB / 4.696 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01583/18.35, allocations: 5.531 MB / 4.701 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/18.35, allocations: 4.625 kB / 4.701 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006025/18.35, allocations: 1.878 MB / 4.703 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01429/18.37, allocations: 1.687 MB / 4.705 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/18.39, allocations: 7.831 MB / 4.713 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005322/18.4, allocations: 3.149 MB / 4.716 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02029/18.42, allocations: 3.341 MB / 4.719 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/18.42, allocations: 335.7 kB / 4.719 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/18.42, allocations: 3.094 kB / 4.719 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.2/18.62, allocations: 83.61 MB / 4.801 GB, free: 90.99 MB / 0.8855 GB