Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.026/5.026, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 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.003885/0.003885, allocations: 359.6 kB / 0.6446 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.284/4.284, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001909/0.001908, allocations: 181.4 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005168, allocations: 15.98 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8595, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.933/7.793, allocations: 2.358 GB / 3.819 GB, free: 44.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/7.793, allocations: 103.1 kB / 3.819 GB, free: 44.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.205/13, allocations: 0.9226 GB / 4.742 GB, free: 199.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/13, allocations: 0 / 4.742 GB, free: 199.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008628/13, allocations: 128.1 kB / 4.742 GB, free: 199.7 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02249/13.02, allocations: 5.083 MB / 4.747 GB, free: 196.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/13.02, allocations: 12.19 kB / 4.747 GB, free: 196.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/13.04, allocations: 1.256 MB / 4.748 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/13.06, allocations: 5.159 MB / 4.753 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004343/13.06, allocations: 284 kB / 4.753 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/13.06, allocations: 372 kB / 4.754 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/13.08, allocations: 5.383 MB / 4.759 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/13.08, allocations: 17.05 kB / 4.759 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/13.08, allocations: 159.8 kB / 4.759 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/13.08, allocations: 177.7 kB / 4.759 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/13.1, allocations: 5.217 MB / 4.764 GB, free: 182.2 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.05069/13.15, allocations: 19.43 MB / 4.783 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/13.17, allocations: 3.608 MB / 4.787 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00692/13.17, allocations: 1.882 MB / 4.789 GB, free: 157 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/13.18, allocations: 1.874 MB / 4.79 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00822/13.18, allocations: 2.063 MB / 4.792 GB, free: 152.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.533e-06/13.18, allocations: 0 / 4.792 GB, free: 152.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.02362/13.21, allocations: 5.086 MB / 4.797 GB, free: 147.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/13.21, allocations: 299.1 kB / 4.798 GB, free: 147.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008466/13.22, allocations: 3.59 MB / 4.801 GB, free: 143.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009361/13.22, allocations: 81.7 kB / 4.801 GB, free: 143.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/13.22, allocations: 1.961 MB / 4.803 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/13.22, allocations: 0.9046 MB / 4.804 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/13.22, allocations: 56 kB / 4.804 GB, free: 140.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002632/13.22, allocations: 434.9 kB / 4.805 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006479/13.23, allocations: 1.548 MB / 4.806 GB, free: 138.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007399/13.24, allocations: 2.245 MB / 4.808 GB, free: 136.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007295/13.24, allocations: 1.891 MB / 4.81 GB, free: 134.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/13.24, allocations: 8 kB / 4.81 GB, free: 134.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01915/13.26, allocations: 4.368 MB / 4.814 GB, free: 129.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003452/13.26, allocations: 0.5958 MB / 4.815 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/13.26, allocations: 16 kB / 4.815 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/13.27, allocations: 112.8 kB / 4.815 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007968/13.27, allocations: 0.78 MB / 4.816 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/13.28, allocations: 2.16 MB / 4.818 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00775/13.28, allocations: 0.4965 MB / 4.818 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/13.29, allocations: 147.9 kB / 4.819 GB, free: 125 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/13.29, allocations: 4 kB / 4.819 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01656/13.3, allocations: 4.03 MB / 4.823 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/13.3, allocations: 19.94 kB / 4.823 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009864/13.3, allocations: 113.6 kB / 4.823 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007625/13.31, allocations: 0.7645 MB / 4.823 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/13.31, allocations: 1.572 MB / 4.825 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007621/13.32, allocations: 469 kB / 4.825 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/13.32, allocations: 147.9 kB / 4.826 GB, free: 117.7 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 (370): * Single equations (assignments): 368 * 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.004628/13.33, allocations: 1.507 MB / 4.827 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/13.33, allocations: 387.3 kB / 4.827 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/13.35, allocations: 4.353 MB / 4.832 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/13.35, allocations: 32 kB / 4.832 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/13.35, allocations: 4 kB / 4.832 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01478/13.36, allocations: 3.492 MB / 4.835 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04389/13.41, allocations: 8.932 MB / 4.844 GB, free: 98.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/13.41, allocations: 2.75 kB / 4.844 GB, free: 98.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01084/13.42, allocations: 0.6593 MB / 4.844 GB, free: 98.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/13.42, allocations: 92.77 kB / 4.845 GB, free: 98.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009865/13.42, allocations: 87.92 kB / 4.845 GB, free: 97.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/13.42, allocations: 2.16 MB / 4.847 GB, free: 95.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/13.42, allocations: 0 / 4.847 GB, free: 95.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03695/13.46, allocations: 6.012 MB / 4.853 GB, free: 89.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005323/13.47, allocations: 1.038 MB / 4.854 GB, free: 88.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002321/13.47, allocations: 59.98 kB / 4.854 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/13.48, allocations: 331.4 kB / 4.854 GB, free: 88.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/13.48, allocations: 181.4 kB / 4.854 GB, free: 87.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007196/13.48, allocations: 131.9 kB / 4.854 GB, free: 87.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007793/13.49, allocations: 2.522 MB / 4.857 GB, free: 85.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.104e-06/13.49, allocations: 0 / 4.857 GB, free: 85.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01281/13.5, allocations: 2.423 MB / 4.859 GB, free: 82.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004552/13.51, allocations: 1.625 MB / 4.861 GB, free: 81.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02341/13.53, allocations: 6.103 MB / 4.867 GB, free: 75.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/13.53, allocations: 7.078 kB / 4.867 GB, free: 75.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007464/13.54, allocations: 1.956 MB / 4.869 GB, free: 73.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01756/13.56, allocations: 2.085 MB / 4.871 GB, free: 71.58 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/13.58, allocations: 11.2 MB / 4.882 GB, free: 60.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003964/13.59, allocations: 3.127 MB / 4.885 GB, free: 57.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01288/13.6, allocations: 2.04 MB / 4.887 GB, free: 55.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/13.6, allocations: 387.2 kB / 4.887 GB, free: 54.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.492e-06/13.6, allocations: 0 / 4.887 GB, free: 54.9 MB / 0.948 GB Notification: Performance of Templates: time 0.9727/14.58, allocations: 89.79 MB / 4.975 GB, free: 205.2 MB / 0.9636 GB