Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001123/0.001123, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.00115/0.00115, allocations: 192.6 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.247/1.247, 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-master/package.mo): time 0.7469/0.7469, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.09 kB / 0.5068 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2825, allocations: 80.9 MB / 0.5858 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001838/0.2844, allocations: 1.248 MB / 0.587 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2854, allocations: 0.8858 MB / 0.5879 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.2854, allocations: 0 / 0.5879 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.2855, allocations: 2.438 kB / 0.5879 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.2856, allocations: 27.95 kB / 0.5879 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.2862, allocations: 253.8 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.2863, allocations: 24.81 kB / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.2863, allocations: 1.312 kB / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.2863, allocations: 19.72 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2864, allocations: 48.98 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.2865, allocations: 1.312 kB / 0.5883 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.2868, allocations: 284.2 kB / 0.5885 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2868, allocations: 22.92 kB / 0.5885 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.2869, allocations: 11.38 kB / 0.5886 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.2871, allocations: 242.9 kB / 0.5888 GB, free: 23.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2871, allocations: 0 / 0.5888 GB, free: 23.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2871, allocations: 0.5 kB / 0.5888 GB, free: 23.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2872, allocations: 1.25 kB / 0.5888 GB, free: 23.19 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.0002555/0.2874, allocations: 394.7 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.2875, allocations: 11.75 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.2875, allocations: 2.438 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.2876, allocations: 180.6 kB / 0.5893 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.2876, allocations: 384 / 0.5894 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2876, allocations: 6.312 kB / 0.5894 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.2877, allocations: 60.28 kB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.2877, allocations: 0 / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.2877, allocations: 2.688 kB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.2877, allocations: 12.77 kB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.2878, allocations: 25.53 kB / 0.5895 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.2879, allocations: 174.8 kB / 0.5896 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.288, allocations: 49.56 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.288, allocations: 46.94 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.288, allocations: 2.594 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-06/0.288, allocations: 34.56 kB / 0.5897 GB, free: 22.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.288, allocations: 4.938 kB / 0.5898 GB, free: 22.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001612/0.2882, allocations: 126.6 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.472e-05/0.2882, allocations: 53.31 kB / 0.5899 GB, free: 22.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.2883, allocations: 134 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-06/0.2883, allocations: 25.7 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.2883, allocations: 88.12 kB / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.2883, allocations: 28.31 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.2884, allocations: 25.69 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.2884, allocations: 316.8 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.2884, allocations: 31.98 kB / 0.5905 GB, free: 21.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.2885, allocations: 27.98 kB / 0.5906 GB, free: 21.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.2885, allocations: 73.73 kB / 0.5906 GB, free: 21.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2885, allocations: 0 / 0.5906 GB, free: 21.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.344e-05/0.2886, allocations: 105.5 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.2886, allocations: 9.719 kB / 0.5908 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2886, allocations: 4 kB / 0.5908 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2886, allocations: 384 / 0.5908 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2886, allocations: 0 / 0.5908 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.2887, allocations: 1.094 kB / 0.5908 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.2887, allocations: 7.922 kB / 0.5908 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2887, allocations: 7.938 kB / 0.5908 GB, free: 21.21 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 4.287e-05/0.2887, allocations: 119 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.2887, allocations: 11.84 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-06/0.2888, allocations: 8.906 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.2888, allocations: 12.52 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2888, allocations: 6.312 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.2888, allocations: 0 / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.79e-05/0.2889, allocations: 177.5 kB / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2889, allocations: 0 / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.2889, allocations: 4 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.2889, allocations: 0 / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.2889, allocations: 0 / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2889, allocations: 0.75 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2889, allocations: 0 / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.774e-05/0.289, allocations: 140.2 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.289, allocations: 77.11 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.289, allocations: 0 / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.289, allocations: 0 / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.2891, allocations: 4 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.2891, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.2891, allocations: 106.3 kB / 0.5914 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2891, allocations: 0 / 0.5914 GB, free: 20.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.2894, allocations: 67.92 kB / 0.5915 GB, free: 20.41 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.0002218/0.2896, allocations: 172.9 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.2897, allocations: 67.97 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2897, allocations: 1.344 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.2897, allocations: 39.92 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2899, allocations: 13.39 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.2901, allocations: 187.4 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.581e-05/0.2902, allocations: 0.7002 MB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.2902, allocations: 3.656 kB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.2902, allocations: 15.38 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2903, allocations: 0.7188 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003036/0.2933, allocations: 1.469 MB / 0.5941 GB, free: 17.8 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)