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.001072/0.001071, allocations: 112 kB / 16.37 MB, free: 5.539 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.001152/0.001152, allocations: 194.7 kB / 17.31 MB, free: 5.18 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7768/0.7768, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3786, allocations: 80.9 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002351/0.381, allocations: 1.24 MB / 0.587 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3823, allocations: 0.8895 MB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.3824, allocations: 1.094 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.3824, allocations: 0 / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3826, allocations: 27.89 kB / 0.5879 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007807/0.3834, allocations: 253.9 kB / 0.5882 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.3834, allocations: 25.31 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3835, allocations: 5.094 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.3835, allocations: 24.34 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3837, allocations: 48.78 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3837, allocations: 0 / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.3842, allocations: 281.7 kB / 0.5885 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.3842, allocations: 20.86 kB / 0.5885 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.3842, allocations: 13.59 kB / 0.5886 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.3846, allocations: 237.8 kB / 0.5888 GB, free: 23.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3846, allocations: 0.7188 kB / 0.5888 GB, free: 23.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3846, allocations: 1.188 kB / 0.5888 GB, free: 23.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3846, allocations: 2.375 kB / 0.5888 GB, free: 23.29 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.0003184/0.3849, allocations: 395.8 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.385, allocations: 9.719 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.385, allocations: 3.781 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.3851, allocations: 180.3 kB / 0.5894 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3851, allocations: 0.9062 kB / 0.5894 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.3851, allocations: 4.125 kB / 0.5894 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3853, allocations: 58.22 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3853, allocations: 0 / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.3853, allocations: 0 / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.3853, allocations: 15.05 kB / 0.5894 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.3854, allocations: 29 kB / 0.5895 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3855, allocations: 174.8 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.3856, allocations: 53.16 kB / 0.5897 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.3857, allocations: 43.53 kB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.3857, allocations: 1.469 kB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3857, allocations: 31.47 kB / 0.5897 GB, free: 22.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.3857, allocations: 4.594 kB / 0.5897 GB, free: 22.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000197/0.3859, allocations: 130.6 kB / 0.5899 GB, free: 22.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.386, allocations: 52.91 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.386, allocations: 129.8 kB / 0.59 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.386, allocations: 25.7 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.3861, allocations: 92.81 kB / 0.5902 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3861, allocations: 28.17 kB / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.3862, allocations: 26.36 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.3862, allocations: 312.3 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.3862, allocations: 31.98 kB / 0.5905 GB, free: 21.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.3863, allocations: 31.92 kB / 0.5906 GB, free: 21.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.3863, allocations: 69.39 kB / 0.5906 GB, free: 21.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3863, allocations: 4.531 kB / 0.5906 GB, free: 21.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.755e-05/0.3864, allocations: 105.5 kB / 0.5907 GB, free: 21.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3864, allocations: 12.38 kB / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3865, allocations: 0 / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3865, allocations: 384 / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3865, allocations: 0 / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3865, allocations: 0 / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.3865, allocations: 5.531 kB / 0.5908 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3865, allocations: 7.938 kB / 0.5908 GB, free: 21.25 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 6.081e-05/0.3866, allocations: 117.8 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.3866, allocations: 12.97 kB / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.3866, allocations: 8.375 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.3866, allocations: 11.98 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3867, allocations: 1.438 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3867, allocations: 3.984 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3868, allocations: 177.5 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3868, allocations: 4 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3868, allocations: 1.125 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3868, allocations: 0 / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3868, allocations: 4 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3868, allocations: 0.9062 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3868, allocations: 0 / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.187e-05/0.3869, allocations: 140 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.3869, allocations: 77.11 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.387, allocations: 0 / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.387, allocations: 4 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.387, allocations: 0 / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.387, allocations: 0 / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.387, allocations: 104.8 kB / 0.5914 GB, free: 20.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.387, allocations: 0 / 0.5914 GB, free: 20.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3873, allocations: 71.92 kB / 0.5915 GB, free: 20.44 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.0002599/0.3876, allocations: 174.6 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.3877, allocations: 68.47 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3877, allocations: 4.656 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.3878, allocations: 42.44 kB / 0.5918 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.3879, allocations: 4.812 kB / 0.5918 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.3882, allocations: 186.2 kB / 0.5919 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3883, allocations: 0.7002 MB / 0.5926 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.3884, allocations: 6.781 kB / 0.5926 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.3884, allocations: 12.69 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3884, allocations: 3.938 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of Templates: time 0.003352/0.3918, allocations: 1.459 MB / 0.5941 GB, free: 17.84 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)