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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008239/0.008239, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00184/0.00184, allocations: 193.2 kB / 16.67 MB, free: 5.977 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.408/1.408, 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.9903/0.9903, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.5852 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4377, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002075/0.4398, allocations: 1.247 MB / 0.6654 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.4411, allocations: 0.8714 MB / 0.6663 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.4412, allocations: 5.281 kB / 0.6663 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.4412, allocations: 4 kB / 0.6663 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4414, allocations: 35.66 kB / 0.6663 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.4422, allocations: 240.8 kB / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.4423, allocations: 28.55 kB / 0.6666 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.4423, allocations: 5.469 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.4424, allocations: 15.8 kB / 0.6666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.4425, allocations: 50.59 kB / 0.6666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.4426, allocations: 0 / 0.6666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.443, allocations: 277 kB / 0.6669 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.443, allocations: 25.53 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.4431, allocations: 16.28 kB / 0.6669 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.4434, allocations: 241.4 kB / 0.6672 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4434, allocations: 0 / 0.6672 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4434, allocations: 5.188 kB / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4434, allocations: 0 / 0.6672 GB, free: 5.113 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.0003498/0.4438, allocations: 384.4 kB / 0.6675 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4438, allocations: 9.531 kB / 0.6675 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.4438, allocations: 40.3 kB / 0.6676 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.4439, allocations: 11.66 kB / 0.6676 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.444, allocations: 175.1 kB / 0.6678 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.444, allocations: 5.688 kB / 0.6678 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.444, allocations: 0 / 0.6678 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4441, allocations: 60.06 kB / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4441, allocations: 0 / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4441, allocations: 1.156 kB / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.4442, allocations: 12.95 kB / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.4442, allocations: 25.55 kB / 0.6679 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.4444, allocations: 169.3 kB / 0.668 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.4444, allocations: 57.03 kB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.4445, allocations: 39.59 kB / 0.6681 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.4445, allocations: 4 kB / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4445, allocations: 32.06 kB / 0.6682 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.4445, allocations: 0 / 0.6682 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001933/0.4447, allocations: 134.2 kB / 0.6683 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.4447, allocations: 52.91 kB / 0.6683 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.4448, allocations: 130.3 kB / 0.6685 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.4448, allocations: 29.69 kB / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.4449, allocations: 94.56 kB / 0.6686 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4449, allocations: 34.98 kB / 0.6686 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4449, allocations: 15 kB / 0.6686 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.445, allocations: 321.5 kB / 0.6689 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.445, allocations: 24.38 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.4451, allocations: 25.33 kB / 0.669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.4451, allocations: 81.92 kB / 0.6691 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4451, allocations: 5.219 kB / 0.6691 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.454e-05/0.4452, allocations: 93.42 kB / 0.6691 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4453, allocations: 9.469 kB / 0.6692 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4453, allocations: 0 / 0.6692 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4453, allocations: 5.234 kB / 0.6692 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.4453, allocations: 3.938 kB / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4453, allocations: 0 / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.4453, allocations: 8.969 kB / 0.6692 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4453, allocations: 2.5 kB / 0.6692 GB, free: 3.246 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 6.12e-05/0.4454, allocations: 125.1 kB / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.4454, allocations: 6.031 kB / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.4454, allocations: 19.67 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.4455, allocations: 9.656 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4455, allocations: 0 / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.4455, allocations: 0.9062 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.4456, allocations: 174.1 kB / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4456, allocations: 0 / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.4456, allocations: 1.125 kB / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4456, allocations: 0 / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.4456, allocations: 1.719 kB / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.4456, allocations: 0 / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4456, allocations: 7.984 kB / 0.6695 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4457, allocations: 127.6 kB / 0.6696 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.4458, allocations: 82.48 kB / 0.6697 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4458, allocations: 1.281 kB / 0.6697 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.4458, allocations: 7.875 kB / 0.6697 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.4458, allocations: 1.438 kB / 0.6697 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4458, allocations: 6.516 kB / 0.6697 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.4459, allocations: 116 kB / 0.6698 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.6698 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003212/0.4462, allocations: 69.97 kB / 0.6699 GB, free: 2.586 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.0004779/0.4467, allocations: 0.731 MB / 0.6706 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.4468, allocations: 67.72 kB / 0.6707 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4468, allocations: 5.688 kB / 0.6707 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.4469, allocations: 35.5 kB / 0.6707 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.447, allocations: 1.312 kB / 0.6707 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.4475, allocations: 254.4 kB / 0.671 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4476, allocations: 0.694 MB / 0.6716 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.4477, allocations: 7.844 kB / 0.6716 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.4477, allocations: 24.05 kB / 0.6717 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4477, allocations: 0 / 0.6717 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.4686, allocations: 2.834 MB / 0.6744 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.028, allocations: 13.53 kB / 0.6745 GB, free: 15.55 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)