Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.091/5.091, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002476/0.002476, allocations: 360.8 kB / 0.6447 GB, free: 185.6 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.449/4.449, allocations: 410.7 MB / 1.113 GB, free: 5.953 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.00178/0.00178, allocations: 188.6 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005216, allocations: 15.98 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7733, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.698, allocations: 2.358 GB / 3.819 GB, free: 57.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/7.699, allocations: 107.1 kB / 3.819 GB, free: 57.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.122/12.82, allocations: 0.9238 GB / 4.743 GB, free: 203.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.525e-06/12.82, allocations: 3.719 kB / 4.743 GB, free: 203.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008734/12.82, allocations: 124.5 kB / 4.743 GB, free: 203.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.0228/12.84, allocations: 5.097 MB / 4.748 GB, free: 201 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/12.84, allocations: 11.44 kB / 4.748 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/12.86, allocations: 1.254 MB / 4.749 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/12.88, allocations: 5.144 MB / 4.754 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/12.88, allocations: 293.5 kB / 4.754 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/12.88, allocations: 374.2 kB / 4.755 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/12.9, allocations: 5.38 MB / 4.76 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/12.9, allocations: 11.44 kB / 4.76 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/12.9, allocations: 166.2 kB / 4.76 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/12.9, allocations: 173.8 kB / 4.76 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/12.93, allocations: 5.243 MB / 4.766 GB, free: 191.7 MB / 0.948 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.05049/12.98, allocations: 19.18 MB / 4.784 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/12.99, allocations: 3.547 MB / 4.788 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00701/13, allocations: 1.898 MB / 4.79 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/13, allocations: 1.865 MB / 4.791 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008386/13.01, allocations: 2.072 MB / 4.793 GB, free: 163.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 8.065e-06/13.01, allocations: 0 / 4.793 GB, free: 163.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=265): time 0.02656/13.04, allocations: 5.108 MB / 4.798 GB, free: 158.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/13.04, allocations: 291 kB / 4.799 GB, free: 157.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00873/13.04, allocations: 3.599 MB / 4.802 GB, free: 154.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/13.05, allocations: 89.38 kB / 4.802 GB, free: 154 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/13.05, allocations: 1.967 MB / 4.804 GB, free: 152.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/13.05, allocations: 0.9014 MB / 4.805 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/13.05, allocations: 56 kB / 4.805 GB, free: 151.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002168/13.05, allocations: 428 kB / 4.806 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006406/13.06, allocations: 1.562 MB / 4.807 GB, free: 149.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007577/13.06, allocations: 2.276 MB / 4.809 GB, free: 146.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/13.07, allocations: 1.911 MB / 4.811 GB, free: 144.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/13.07, allocations: 4 kB / 4.811 GB, free: 144.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01857/13.09, allocations: 4.396 MB / 4.815 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00038/13.09, allocations: 0.5956 MB / 4.816 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/13.09, allocations: 16 kB / 4.816 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/13.09, allocations: 116.7 kB / 4.816 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007898/13.1, allocations: 0.7722 MB / 4.817 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/13.1, allocations: 1.57 MB / 4.818 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00821/13.11, allocations: 0.5004 MB / 4.819 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/13.11, allocations: 151.3 kB / 4.819 GB, free: 136.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/13.11, allocations: 4 kB / 4.819 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0164/13.13, allocations: 4.054 MB / 4.823 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/13.13, allocations: 20 kB / 4.823 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/13.13, allocations: 113.2 kB / 4.823 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007752/13.14, allocations: 0.7722 MB / 4.824 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/13.14, allocations: 1.574 MB / 4.825 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007813/13.15, allocations: 469.1 kB / 4.826 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/13.15, allocations: 151.9 kB / 4.826 GB, free: 128.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.004659/13.15, allocations: 1.513 MB / 4.828 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/13.16, allocations: 387.3 kB / 4.828 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/13.17, allocations: 4.465 MB / 4.832 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/13.17, allocations: 31.98 kB / 4.832 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/13.17, allocations: 4 kB / 4.832 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01415/13.19, allocations: 3.491 MB / 4.836 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03105/13.22, allocations: 9.208 MB / 4.845 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/13.22, allocations: 4 kB / 4.845 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007174/13.23, allocations: 0.6519 MB / 4.845 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009449/13.23, allocations: 92.77 kB / 4.845 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008915/13.23, allocations: 91.92 kB / 4.845 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/13.23, allocations: 1.583 MB / 4.847 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/13.23, allocations: 4 kB / 4.847 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/13.26, allocations: 6.073 MB / 4.853 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00407/13.26, allocations: 1.042 MB / 4.854 GB, free: 99.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001844/13.26, allocations: 63.98 kB / 4.854 GB, free: 99.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00763/13.27, allocations: 311.4 kB / 4.854 GB, free: 99.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000968/13.27, allocations: 189.8 kB / 4.855 GB, free: 99.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006607/13.27, allocations: 127.9 kB / 4.855 GB, free: 98.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006915/13.28, allocations: 2.53 MB / 4.857 GB, free: 96.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/13.28, allocations: 4 kB / 4.857 GB, free: 96.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01265/13.29, allocations: 2.427 MB / 4.86 GB, free: 94.02 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 274 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004706/13.3, allocations: 1.645 MB / 4.861 GB, free: 92.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.024/13.32, allocations: 6.115 MB / 4.867 GB, free: 86.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/13.32, allocations: 5 kB / 4.867 GB, free: 86.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007932/13.33, allocations: 1.955 MB / 4.869 GB, free: 84.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/13.35, allocations: 2.071 MB / 4.871 GB, free: 82.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/13.38, allocations: 11.28 MB / 4.882 GB, free: 71.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005538/13.38, allocations: 3.115 MB / 4.885 GB, free: 68.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01409/13.4, allocations: 2.048 MB / 4.887 GB, free: 66.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/13.4, allocations: 387.2 kB / 4.887 GB, free: 65.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/13.4, allocations: 0 / 4.887 GB, free: 65.93 MB / 0.948 GB Notification: Performance of Templates: time 0.9721/14.37, allocations: 89.56 MB / 4.975 GB, free: 206.9 MB / 0.9636 GB