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.002462/0.002461, allocations: 355.2 kB / 15.94 MB, free: 6.211 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.535/1.535, allocations: 165.8 MB / 182.5 MB, free: 5.379 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.763/3.763, allocations: 410.8 MB / 0.5995 GB, free: 15.07 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.001813/0.001812, allocations: 198 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004528, allocations: 12 kB / 0.7423 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.335, allocations: 67.44 MB / 0.8082 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001089/0.3361, allocations: 0.9558 MB / 0.8091 GB, free: 27.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3374, allocations: 0.8598 MB / 0.81 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.3375, allocations: 0 / 0.81 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3375, allocations: 0 / 0.81 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.35e-05/0.3376, allocations: 27.95 kB / 0.81 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.3383, allocations: 187.6 kB / 0.8102 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.3384, allocations: 27.91 kB / 0.8102 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.3384, allocations: 7.984 kB / 0.8102 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.3384, allocations: 15.98 kB / 0.8102 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3386, allocations: 43.94 kB / 0.8103 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.566e-06/0.3386, allocations: 0 / 0.8103 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.339, allocations: 235.7 kB / 0.8105 GB, free: 26.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.339, allocations: 19.92 kB / 0.8105 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3391, allocations: 33.7 kB / 0.8105 GB, free: 26.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3393, allocations: 157.8 kB / 0.8107 GB, free: 26.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3393, allocations: 7.938 kB / 0.8107 GB, free: 26.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3393, allocations: 0 / 0.8107 GB, free: 26.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.886e-06/0.3394, allocations: 0 / 0.8107 GB, free: 26.19 MB / 378.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.0002892/0.3397, allocations: 379.1 kB / 0.8111 GB, free: 25.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3397, allocations: 12.03 kB / 0.8111 GB, free: 25.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3397, allocations: 3.906 kB / 0.8111 GB, free: 25.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.3398, allocations: 171 kB / 0.8112 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3399, allocations: 0 / 0.8112 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-06/0.3399, allocations: 7.953 kB / 0.8112 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.34, allocations: 61.62 kB / 0.8113 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.802e-06/0.34, allocations: 0 / 0.8113 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-06/0.34, allocations: 3.984 kB / 0.8113 GB, free: 25.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.3401, allocations: 12 kB / 0.8113 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.3401, allocations: 31.92 kB / 0.8113 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3403, allocations: 177.5 kB / 0.8115 GB, free: 25.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.3404, allocations: 46.56 kB / 0.8116 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.3404, allocations: 44.88 kB / 0.8116 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-06/0.3405, allocations: 0 / 0.8116 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3405, allocations: 38.52 kB / 0.8116 GB, free: 25.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.747e-06/0.3405, allocations: 192 / 0.8116 GB, free: 25.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001989/0.3407, allocations: 125.5 kB / 0.8118 GB, free: 24.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.3408, allocations: 55.41 kB / 0.8118 GB, free: 24.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.3409, allocations: 137.7 kB / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.3409, allocations: 29.73 kB / 0.812 GB, free: 24.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.3409, allocations: 88.12 kB / 0.8121 GB, free: 24.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.341, allocations: 31.5 kB / 0.8121 GB, free: 24.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-06/0.341, allocations: 0 / 0.8121 GB, free: 24.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.341, allocations: 322.8 kB / 0.8124 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.3411, allocations: 27.98 kB / 0.8124 GB, free: 24.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.3411, allocations: 27.98 kB / 0.8124 GB, free: 24.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.3412, allocations: 31.98 kB / 0.8125 GB, free: 24.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3412, allocations: 0 / 0.8125 GB, free: 24.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000121/0.3413, allocations: 109.9 kB / 0.8126 GB, free: 24.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3413, allocations: 7.953 kB / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-06/0.3414, allocations: 0 / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3414, allocations: 0 / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.628e-06/0.3414, allocations: 0 / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.093e-06/0.3414, allocations: 0 / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.3414, allocations: 7.938 kB / 0.8126 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3415, allocations: 0 / 0.8126 GB, free: 24.02 MB / 378.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.000101/0.3416, allocations: 121.8 kB / 0.8127 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.3416, allocations: 3.906 kB / 0.8127 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.3416, allocations: 16.36 kB / 0.8127 GB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.3417, allocations: 15.98 kB / 0.8127 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-06/0.3417, allocations: 0 / 0.8127 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-06/0.3417, allocations: 0 / 0.8127 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3419, allocations: 173.7 kB / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-06/0.3419, allocations: 0 / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-06/0.3419, allocations: 0 / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.616e-06/0.3419, allocations: 0 / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-06/0.3419, allocations: 0 / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.342, allocations: 7.953 kB / 0.8129 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-06/0.342, allocations: 8 kB / 0.8129 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3422, allocations: 121 kB / 0.813 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3422, allocations: 81.02 kB / 0.8131 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3423, allocations: 11.92 kB / 0.8131 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.3423, allocations: 0 / 0.8131 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.3423, allocations: 7.938 kB / 0.8131 GB, free: 23.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.282e-06/0.3423, allocations: 4 kB / 0.8131 GB, free: 23.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.865e-05/0.3424, allocations: 99.27 kB / 0.8132 GB, free: 23.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.26e-06/0.3424, allocations: 4.031 kB / 0.8132 GB, free: 23.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.3429, allocations: 71.92 kB / 0.8133 GB, free: 23.2 MB / 378.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.0003184/0.3432, allocations: 163.2 kB / 0.8135 GB, free: 23.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3434, allocations: 71.91 kB / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.7e-06/0.3434, allocations: 0 / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.3434, allocations: 32 kB / 0.8136 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3436, allocations: 7.219 kB / 0.8136 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.3439, allocations: 217.4 kB / 0.8138 GB, free: 22.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3441, allocations: 0.7004 MB / 0.8145 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3441, allocations: 4 kB / 0.8145 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.3442, allocations: 11.44 kB / 0.8145 GB, free: 21.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.363e-06/0.3442, allocations: 0 / 0.8145 GB, free: 21.94 MB / 378.7 MB Notification: Performance of Templates: time 0.004457/0.3487, allocations: 1.462 MB / 0.8159 GB, free: 20.52 MB / 378.7 MB