Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002583/0.002582, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.4/1.4, allocations: 165.8 MB / 183.1 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.854/3.854, allocations: 410.7 MB / 0.6001 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 193.6 kB / 0.6668 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 12 kB / 0.7429 GB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4121, allocations: 67.44 MB / 0.8088 GB, free: 28.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.5855, allocations: 100.5 MB / 0.9069 GB, free: 8.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004274/0.586, allocations: 113.3 kB / 0.907 GB, free: 8.031 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.6052, allocations: 3.782 MB / 0.9107 GB, free: 4.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6052, allocations: 0 / 0.9107 GB, free: 4.246 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.6052, allocations: 0 / 0.9107 GB, free: 4.246 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005379/0.6058, allocations: 403 kB / 0.9111 GB, free: 3.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6058, allocations: 8.031 kB / 0.9111 GB, free: 3.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.6059, allocations: 15.89 kB / 0.9111 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.606, allocations: 171 kB / 0.9113 GB, free: 3.574 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6061, allocations: 0 / 0.9113 GB, free: 3.574 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.6061, allocations: 3.938 kB / 0.9113 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.6063, allocations: 69.61 kB / 0.9113 GB, free: 3.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6063, allocations: 0 / 0.9113 GB, free: 3.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6063, allocations: 3.953 kB / 0.9113 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.6064, allocations: 4 kB / 0.9113 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.6065, allocations: 39.97 kB / 0.9114 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.6068, allocations: 181.6 kB / 0.9115 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.6069, allocations: 54.59 kB / 0.9116 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.607, allocations: 52.81 kB / 0.9116 GB, free: 3.105 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-06/0.607, allocations: 0 / 0.9116 GB, free: 3.105 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6071, allocations: 34.55 kB / 0.9117 GB, free: 3.062 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 3.677e-06/0.6071, allocations: 3.984 kB / 0.9117 GB, free: 3.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003551/0.6075, allocations: 153.6 kB / 0.9118 GB, free: 2.902 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6075, allocations: 59.39 kB / 0.9119 GB, free: 2.832 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.6077, allocations: 129.8 kB / 0.912 GB, free: 2.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.6077, allocations: 25.7 kB / 0.912 GB, free: 2.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.6078, allocations: 84.14 kB / 0.9121 GB, free: 2.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.6078, allocations: 31.55 kB / 0.9121 GB, free: 2.547 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.6078, allocations: 7.984 kB / 0.9122 GB, free: 2.539 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.608, allocations: 318.8 kB / 0.9125 GB, free: 2.219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.6081, allocations: 27.98 kB / 0.9125 GB, free: 2.191 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.6081, allocations: 39.98 kB / 0.9125 GB, free: 2.152 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.6082, allocations: 39.97 kB / 0.9126 GB, free: 2.113 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6083, allocations: 0 / 0.9126 GB, free: 2.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002139/0.6085, allocations: 113.5 kB / 0.9127 GB, free: 1.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6085, allocations: 4 kB / 0.9127 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6085, allocations: 0 / 0.9127 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6085, allocations: 4.375 kB / 0.9127 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.6086, allocations: 0 / 0.9127 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6086, allocations: 3.953 kB / 0.9127 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.6086, allocations: 0 / 0.9127 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.6086, allocations: 7.938 kB / 0.9127 GB, free: 1.977 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.6088, allocations: 130.9 kB / 0.9128 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.6088, allocations: 7.844 kB / 0.9128 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.6088, allocations: 12.36 kB / 0.9128 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.6089, allocations: 4 kB / 0.9128 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6089, allocations: 0 / 0.9128 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6089, allocations: 7.953 kB / 0.9128 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6092, allocations: 177.6 kB / 0.913 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6092, allocations: 0 / 0.913 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/0.6092, allocations: 0 / 0.913 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6092, allocations: 4 kB / 0.913 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6092, allocations: 0 / 0.913 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6092, allocations: 4 kB / 0.913 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6092, allocations: 0 / 0.913 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.6095, allocations: 140.9 kB / 0.9132 GB, free: 1.422 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.6096, allocations: 85.02 kB / 0.9132 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6096, allocations: 3.938 kB / 0.9132 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.6096, allocations: 0 / 0.9132 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.6097, allocations: 8.031 kB / 0.9132 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6097, allocations: 4 kB / 0.9132 GB, free: 1.305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.6098, allocations: 103.2 kB / 0.9133 GB, free: 1.203 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6098, allocations: 0 / 0.9133 GB, free: 1.203 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.6103, allocations: 83.88 kB / 0.9134 GB, free: 1.121 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004439/0.6108, allocations: 179 kB / 0.9136 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.611, allocations: 67.97 kB / 0.9137 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.611, allocations: 4.062 kB / 0.9137 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.6111, allocations: 39.97 kB / 0.9137 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.6113, allocations: 3.938 kB / 0.9137 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.6118, allocations: 212.1 kB / 0.9139 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.6121, allocations: 0.6966 MB / 0.9146 GB, free: 15.87 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.6122, allocations: 8 kB / 0.9146 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.6123, allocations: 19.38 kB / 0.9146 GB, free: 15.84 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6123, allocations: 0 / 0.9146 GB, free: 15.84 MB / 474.7 MB Notification: Performance of Templates: time 0.005728/0.618, allocations: 1.443 MB / 0.916 GB, free: 14.44 MB / 474.7 MB