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.007998/0.007998, allocations: 102.7 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.00205/0.00205, allocations: 199.3 kB / 16.68 MB, free: 5.973 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8939/0.8939, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.89 kB / 0.5857 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4109, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002075/0.4131, allocations: 1.249 MB / 0.6659 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4143, allocations: 0.8833 MB / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.4143, allocations: 1.312 kB / 0.6668 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.4143, allocations: 4 kB / 0.6668 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4144, allocations: 32.28 kB / 0.6668 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.4151, allocations: 243.5 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.4152, allocations: 29.55 kB / 0.667 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.4152, allocations: 1.5 kB / 0.6671 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.4153, allocations: 14.58 kB / 0.6671 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.4154, allocations: 54.53 kB / 0.6671 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.4154, allocations: 1.281 kB / 0.6671 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.4158, allocations: 288.5 kB / 0.6674 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.4158, allocations: 17.17 kB / 0.6674 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.4159, allocations: 16.44 kB / 0.6674 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.4161, allocations: 243.2 kB / 0.6677 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4162, allocations: 1.406 kB / 0.6677 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4162, allocations: 4 kB / 0.6677 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4162, 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.0002936/0.4165, allocations: 382.3 kB / 0.668 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4165, allocations: 8.75 kB / 0.668 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.4165, allocations: 7.406 kB / 0.668 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/0.4166, allocations: 179.8 kB / 0.6682 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4166, allocations: 1.719 kB / 0.6682 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.4167, allocations: 3.938 kB / 0.6682 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.4168, allocations: 67.88 kB / 0.6683 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.4168, allocations: 1.438 kB / 0.6683 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.4168, allocations: 0 / 0.6683 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.4168, allocations: 9.5 kB / 0.6683 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.4169, allocations: 29.73 kB / 0.6683 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.417, allocations: 172.8 kB / 0.6685 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.4171, allocations: 53.66 kB / 0.6685 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.4171, allocations: 38.58 kB / 0.6686 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.4171, allocations: 4 kB / 0.6686 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.4171, allocations: 39.98 kB / 0.6686 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4171, allocations: 0 / 0.6686 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001754/0.4173, allocations: 123.3 kB / 0.6687 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.4174, allocations: 55.34 kB / 0.6688 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.4174, allocations: 133.8 kB / 0.6689 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.4174, allocations: 27.23 kB / 0.6689 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.4175, allocations: 86.7 kB / 0.669 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.4175, allocations: 35.02 kB / 0.6691 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.4175, allocations: 18.83 kB / 0.6691 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.4176, allocations: 317.6 kB / 0.6694 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.4176, allocations: 28.89 kB / 0.6694 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.4177, allocations: 28.11 kB / 0.6694 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.4177, allocations: 75.08 kB / 0.6695 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4177, allocations: 0 / 0.6695 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.778e-05/0.4179, allocations: 105.7 kB / 0.6696 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4179, allocations: 7.75 kB / 0.6696 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4179, allocations: 4.062 kB / 0.6696 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4179, allocations: 1.344 kB / 0.6696 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.4179, allocations: 0 / 0.6696 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4179, allocations: 0 / 0.6696 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.4179, allocations: 9.062 kB / 0.6696 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4179, allocations: 2.906 kB / 0.6696 GB, free: 3.609 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.21e-05/0.418, allocations: 125 kB / 0.6697 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.418, allocations: 5.469 kB / 0.6698 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.418, allocations: 8.375 kB / 0.6698 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.418, allocations: 20.88 kB / 0.6698 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.4181, allocations: 1.656 kB / 0.6698 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4181, allocations: 0 / 0.6698 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.4182, allocations: 173.8 kB / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4182, allocations: 0 / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.4182, allocations: 3.938 kB / 0.67 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4182, allocations: 1.25 kB / 0.67 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.4182, allocations: 5.25 kB / 0.67 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.4182, allocations: 0 / 0.67 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4182, allocations: 3.984 kB / 0.67 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.4183, allocations: 135.3 kB / 0.6701 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.4183, allocations: 87.72 kB / 0.6702 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.4183, allocations: 0 / 0.6702 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.4184, allocations: 5.375 kB / 0.6702 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.4184, allocations: 3.938 kB / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.4184, allocations: 3 kB / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.4184, allocations: 99.48 kB / 0.6703 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4184, allocations: 3.938 kB / 0.6703 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002751/0.4187, allocations: 74.02 kB / 0.6704 GB, free: 2.945 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.0002625/0.419, allocations: 175.3 kB / 0.6705 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4191, allocations: 66.72 kB / 0.6706 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4191, allocations: 0 / 0.6706 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.4191, allocations: 35.83 kB / 0.6706 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.4193, allocations: 8.266 kB / 0.6706 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.4196, allocations: 200.6 kB / 0.6708 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.4197, allocations: 0.6975 MB / 0.6715 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.4197, allocations: 2.938 kB / 0.6715 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.4197, allocations: 13.88 kB / 0.6715 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4197, allocations: 0 / 0.6715 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.003345/0.4231, allocations: 1.467 MB / 0.6729 GB, free: 1.207 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)