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.422/2.422, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.00148/0.001479, allocations: 183.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001089/0.001088, allocations: 86.72 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.184e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.227/7.439, allocations: 2.228 GB / 3.123 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/7.439, allocations: 89.77 kB / 3.123 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.894/15.33, allocations: 1.411 GB / 4.534 GB, free: 34.06 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.943e-06/15.33, allocations: 0 / 4.534 GB, free: 34.06 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009307/15.33, allocations: 127.8 kB / 4.534 GB, free: 33.93 MB / 0.8855 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.02272/15.36, allocations: 5.519 MB / 4.539 GB, free: 28.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/15.36, allocations: 12.03 kB / 4.539 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/15.38, allocations: 1.601 MB / 4.541 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02196/15.4, allocations: 5.227 MB / 4.546 GB, free: 21.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/15.4, allocations: 287.5 kB / 4.546 GB, free: 21.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/15.4, allocations: 375.9 kB / 4.547 GB, free: 20.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/15.42, allocations: 5.129 MB / 4.552 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/15.42, allocations: 3.938 kB / 4.552 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/15.42, allocations: 160 kB / 4.552 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/15.42, allocations: 155.3 kB / 4.552 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/15.44, allocations: 4.744 MB / 4.557 GB, free: 10.43 MB / 0.8855 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.8416/16.28, allocations: 19.2 MB / 4.575 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/16.29, allocations: 3.44 MB / 4.579 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005558/16.3, allocations: 1.7 MB / 4.581 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003694/16.3, allocations: 2.546 MB / 4.583 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007363/16.31, allocations: 1.92 MB / 4.585 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 1.009e-05/16.31, allocations: 0 / 4.585 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.01666/16.33, allocations: 3.781 MB / 4.589 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/16.33, allocations: 293.1 kB / 4.589 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/16.34, allocations: 3.312 MB / 4.592 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/16.34, allocations: 83.14 kB / 4.592 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003277/16.34, allocations: 1.944 MB / 4.594 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/16.34, allocations: 0.9699 MB / 4.595 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/16.34, allocations: 61.34 kB / 4.595 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003386/16.34, allocations: 429 kB / 4.595 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/16.35, allocations: 1.393 MB / 4.597 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/16.36, allocations: 2.039 MB / 4.599 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/16.36, allocations: 1.746 MB / 4.601 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/16.36, allocations: 3.781 kB / 4.601 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01715/16.38, allocations: 4.062 MB / 4.604 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001559/16.38, allocations: 6.55 MB / 4.611 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.354e-05/16.38, allocations: 13.53 kB / 4.611 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/16.38, allocations: 113.2 kB / 4.611 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008746/16.39, allocations: 0.7949 MB / 4.612 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/16.39, allocations: 2.154 MB / 4.614 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/16.4, allocations: 0.5365 MB / 4.614 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/16.41, allocations: 156.3 kB / 4.615 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/16.41, allocations: 4.281 kB / 4.615 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01492/16.42, allocations: 3.719 MB / 4.618 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/16.42, allocations: 20.06 kB / 4.618 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/16.42, allocations: 109.6 kB / 4.618 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/16.43, allocations: 0.785 MB / 4.619 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/16.43, allocations: 1.56 MB / 4.621 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00905/16.44, allocations: 0.4964 MB / 4.621 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/16.44, allocations: 158.2 kB / 4.621 GB, free: 106 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.00144/16.44, allocations: 283.3 kB / 4.622 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00191/16.45, allocations: 386.8 kB / 4.622 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/16.46, allocations: 4.736 MB / 4.627 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/16.46, allocations: 25.53 kB / 4.627 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/16.46, allocations: 2.719 kB / 4.627 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01297/16.48, allocations: 3.661 MB / 4.63 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/16.51, allocations: 9.534 MB / 4.639 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/16.51, allocations: 0 / 4.639 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006857/16.52, allocations: 0.6129 MB / 4.64 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/16.52, allocations: 0.6693 MB / 4.641 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009627/16.52, allocations: 97.45 kB / 4.641 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006494/16.53, allocations: 7.516 MB / 4.648 GB, free: 97.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/16.53, allocations: 0 / 4.648 GB, free: 97.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/16.55, allocations: 6.19 MB / 4.654 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/16.55, allocations: 1.135 MB / 4.655 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/16.55, allocations: 58.22 kB / 4.655 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008025/16.56, allocations: 320.9 kB / 4.656 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/16.56, allocations: 184.7 kB / 4.656 GB, free: 96.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006129/16.56, allocations: 138.4 kB / 4.656 GB, free: 96.67 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006823/16.57, allocations: 2.602 MB / 4.658 GB, free: 96.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.353e-06/16.57, allocations: 0 / 4.658 GB, free: 96.51 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01542/16.59, allocations: 2.873 MB / 4.661 GB, free: 96.35 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.005806/16.59, allocations: 1.818 MB / 4.663 GB, free: 96.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01754/16.61, allocations: 5.8 MB / 4.669 GB, free: 95.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/16.61, allocations: 0.5625 kB / 4.669 GB, free: 95.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/16.62, allocations: 1.965 MB / 4.671 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01592/16.63, allocations: 1.93 MB / 4.673 GB, free: 95.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/16.66, allocations: 8.062 MB / 4.68 GB, free: 94.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/16.66, allocations: 3.156 MB / 4.683 GB, free: 93.33 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02056/16.68, allocations: 3.641 MB / 4.687 GB, free: 93.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/16.68, allocations: 347.4 kB / 4.687 GB, free: 93.23 MB / 0.8855 GB Notification: Performance of SimCode: time 1.523e-06/16.68, allocations: 0 / 4.687 GB, free: 93.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.2395/16.92, allocations: 101.2 MB / 4.786 GB, free: 81.92 MB / 0.8855 GB