Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 116.8 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 193.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.2 MB / 423.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 80.18 MB / 0.5815 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002183/0.3377, allocations: 1.24 MB / 0.5827 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3389, allocations: 0.8959 MB / 0.5836 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.381e-05/0.339, allocations: 2.594 kB / 0.5836 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.339, allocations: 1.25 kB / 0.5836 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.3391, allocations: 26.98 kB / 0.5837 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.3398, allocations: 246.5 kB / 0.5839 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.3399, allocations: 24.8 kB / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.34, allocations: 2.625 kB / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.34, allocations: 19.06 kB / 0.5839 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.3402, allocations: 60.23 kB / 0.584 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.3402, allocations: 0 / 0.584 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3405, allocations: 277 kB / 0.5843 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.3406, allocations: 18.48 kB / 0.5843 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.3406, allocations: 16.5 kB / 0.5843 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3409, allocations: 238.4 kB / 0.5845 GB, free: 25.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3409, allocations: 3.984 kB / 0.5845 GB, free: 25.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3409, allocations: 0.7812 kB / 0.5845 GB, free: 25.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3409, allocations: 0 / 0.5845 GB, free: 25.54 MB / 446.1 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.0003336/0.3413, allocations: 398.1 kB / 0.5849 GB, free: 25.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3413, allocations: 10.36 kB / 0.5849 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.3413, allocations: 8.594 kB / 0.5849 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.463e-05/0.3414, allocations: 176 kB / 0.5851 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3414, allocations: 1.5 kB / 0.5851 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3414, allocations: 5.344 kB / 0.5851 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3416, allocations: 55.62 kB / 0.5851 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3416, allocations: 1.938 kB / 0.5851 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.3416, allocations: 0 / 0.5851 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.3416, allocations: 13.92 kB / 0.5852 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.3417, allocations: 37 kB / 0.5852 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3418, allocations: 166.9 kB / 0.5854 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.3419, allocations: 49.88 kB / 0.5854 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.3419, allocations: 43.34 kB / 0.5854 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.3419, allocations: 0.9375 kB / 0.5854 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.3419, allocations: 33.31 kB / 0.5855 GB, free: 24.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.3419, allocations: 0 / 0.5855 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001721/0.3421, allocations: 134.6 kB / 0.5856 GB, free: 24.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.3421, allocations: 53.66 kB / 0.5857 GB, free: 24.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.3422, allocations: 131.1 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.3422, allocations: 25.7 kB / 0.5858 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.3422, allocations: 87.08 kB / 0.5859 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3423, allocations: 32.2 kB / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.3423, allocations: 18.45 kB / 0.5859 GB, free: 24.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.3424, allocations: 326.4 kB / 0.5862 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.3424, allocations: 25.53 kB / 0.5863 GB, free: 23.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.3424, allocations: 33.27 kB / 0.5863 GB, free: 23.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.3425, allocations: 74.92 kB / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3425, allocations: 0 / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.002e-05/0.3426, allocations: 103.3 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3426, allocations: 4.562 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3426, allocations: 0.8438 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3426, allocations: 1.188 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3426, allocations: 1.062 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.3427, allocations: 1.438 kB / 0.5865 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.3427, allocations: 11.83 kB / 0.5865 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3427, allocations: 3.656 kB / 0.5865 GB, free: 23.73 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.3427, allocations: 124.9 kB / 0.5866 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.3428, allocations: 5.344 kB / 0.5866 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.234e-05/0.3428, allocations: 8.312 kB / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3428, allocations: 13.48 kB / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3428, allocations: 2.344 kB / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3428, allocations: 0 / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.716e-05/0.3429, allocations: 173.9 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3429, allocations: 0.875 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3429, allocations: 1.312 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.3429, allocations: 1.594 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.3429, allocations: 9.141 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3429, allocations: 96 / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3429, allocations: 9.297 kB / 0.5868 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.476e-05/0.343, allocations: 131.3 kB / 0.587 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.3431, allocations: 83.58 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3431, allocations: 2.688 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.3431, allocations: 0 / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.3431, allocations: 1.219 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3431, allocations: 2.469 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.3432, allocations: 104.5 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 1.375 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3435, allocations: 65.69 kB / 0.5872 GB, free: 23.09 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.3437, allocations: 177.1 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.3438, allocations: 68.08 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3438, allocations: 0.5938 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.3439, allocations: 40.56 kB / 0.5875 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.344, allocations: 9.672 kB / 0.5875 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.3443, allocations: 190.2 kB / 0.5877 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3444, allocations: 0.6932 MB / 0.5883 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.3445, allocations: 9.031 kB / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.3445, allocations: 16.19 kB / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3445, allocations: 0 / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of Templates: time 0.003475/0.348, allocations: 1.468 MB / 0.5898 GB, free: 21.42 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)