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.007667/0.007667, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001758/0.001759, allocations: 198.9 kB / 16.67 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9032/0.9032, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.14 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3636, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001851/0.3655, allocations: 1.249 MB / 0.6659 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3667, allocations: 0.8846 MB / 0.6668 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.3668, allocations: 0 / 0.6668 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3668, allocations: 4 kB / 0.6668 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3669, allocations: 27.95 kB / 0.6668 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.3676, allocations: 244.6 kB / 0.667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.3677, allocations: 33.14 kB / 0.6671 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.3678, allocations: 1.156 kB / 0.6671 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.3678, allocations: 15.55 kB / 0.6671 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3679, allocations: 50.97 kB / 0.6671 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3679, allocations: 0 / 0.6671 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.3683, allocations: 284.2 kB / 0.6674 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.3684, allocations: 22.41 kB / 0.6674 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.3684, allocations: 19.5 kB / 0.6674 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.3687, allocations: 237.3 kB / 0.6677 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3687, allocations: 0 / 0.6677 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3687, allocations: 5.156 kB / 0.6677 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3687, allocations: 0 / 0.6677 GB, free: 5.426 MB / 0.4981 GB 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.0002958/0.369, allocations: 392.5 kB / 0.668 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3691, allocations: 8.656 kB / 0.668 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3691, allocations: 7.609 kB / 0.6681 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.3692, allocations: 183.2 kB / 0.6682 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3692, allocations: 1.594 kB / 0.6682 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-06/0.3692, allocations: 3.938 kB / 0.6682 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.3693, allocations: 60.72 kB / 0.6683 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3693, allocations: 4 kB / 0.6683 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.3693, allocations: 0 / 0.6683 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.3694, allocations: 14.42 kB / 0.6683 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.3694, allocations: 21.25 kB / 0.6683 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3696, allocations: 177 kB / 0.6685 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.3696, allocations: 53.38 kB / 0.6685 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.3697, allocations: 42.91 kB / 0.6686 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3697, allocations: 1.281 kB / 0.6686 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3697, allocations: 34.56 kB / 0.6686 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.3697, allocations: 0 / 0.6686 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001955/0.3699, allocations: 132 kB / 0.6688 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.3699, allocations: 51.41 kB / 0.6688 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.37, allocations: 130.4 kB / 0.6689 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.37, allocations: 25.7 kB / 0.6689 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.37, allocations: 94.66 kB / 0.669 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3701, allocations: 35.66 kB / 0.6691 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.3701, allocations: 21.7 kB / 0.6691 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.3702, allocations: 318.6 kB / 0.6694 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.3702, allocations: 28.08 kB / 0.6694 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.3702, allocations: 24.92 kB / 0.6694 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.3703, allocations: 79.42 kB / 0.6695 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3703, allocations: 0 / 0.6695 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.371e-05/0.3704, allocations: 105.7 kB / 0.6696 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3704, allocations: 5.688 kB / 0.6696 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3704, allocations: 4.062 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3704, allocations: 0 / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3705, allocations: 1.594 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.3705, allocations: 0 / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.3705, allocations: 1.5 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3705, allocations: 1.625 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB 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.973e-05/0.3706, allocations: 125.3 kB / 0.6698 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.3706, allocations: 9.234 kB / 0.6698 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.3706, allocations: 7.625 kB / 0.6698 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.3706, allocations: 18.58 kB / 0.6698 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3706, allocations: 0 / 0.6698 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3706, allocations: 0 / 0.6698 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.575e-05/0.3707, allocations: 182.6 kB / 0.67 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3707, allocations: 4 kB / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.3707, allocations: 0 / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3707, allocations: 1.5 kB / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.3708, allocations: 0 / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3708, allocations: 0.9688 kB / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3708, allocations: 0 / 0.67 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3709, allocations: 134.8 kB / 0.6701 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3709, allocations: 83.34 kB / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3709, allocations: 1.531 kB / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.3709, allocations: 0 / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.371, allocations: 9.125 kB / 0.6702 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.371, allocations: 2.75 kB / 0.6702 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.371, allocations: 99.48 kB / 0.6703 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.371, allocations: 0 / 0.6703 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003107/0.3713, allocations: 78.52 kB / 0.6704 GB, free: 2.938 MB / 0.4981 GB 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.0002995/0.3716, allocations: 177.6 kB / 0.6705 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.3718, allocations: 67.53 kB / 0.6706 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3718, allocations: 0 / 0.6706 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.3718, allocations: 40.48 kB / 0.6706 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.372, allocations: 8.875 kB / 0.6706 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.3723, allocations: 199.3 kB / 0.6708 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3724, allocations: 0.6971 MB / 0.6715 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.3724, allocations: 2.625 kB / 0.6715 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.3725, allocations: 14.41 kB / 0.6715 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.3725, allocations: 0 / 0.6715 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.003631/0.3761, allocations: 1.472 MB / 0.673 GB, free: 1.18 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)