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.006434/0.006434, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001201/0.001201, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9233/0.9233, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.5852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3853, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001846/0.3871, allocations: 1.241 MB / 0.6654 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3883, allocations: 0.8822 MB / 0.6663 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.3883, allocations: 0 / 0.6663 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3884, allocations: 0 / 0.6663 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.725e-05/0.3885, allocations: 28.55 kB / 0.6663 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.3892, allocations: 247.9 kB / 0.6665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3892, allocations: 36.61 kB / 0.6666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.3893, allocations: 1.188 kB / 0.6666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.3893, allocations: 19.84 kB / 0.6666 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3894, allocations: 42.42 kB / 0.6666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.3895, allocations: 0 / 0.6666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3898, allocations: 288.5 kB / 0.6669 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.3899, allocations: 18.73 kB / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.3899, allocations: 23.38 kB / 0.667 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3902, allocations: 237.8 kB / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3902, allocations: 0 / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3902, allocations: 0 / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.3902, 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.000291/0.3905, allocations: 389.6 kB / 0.6676 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3905, allocations: 9.219 kB / 0.6676 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.3906, allocations: 40.03 kB / 0.6676 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3906, allocations: 15.23 kB / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.083e-05/0.3907, allocations: 175.9 kB / 0.6678 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3907, allocations: 4.125 kB / 0.6678 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-06/0.3907, allocations: 1.125 kB / 0.6678 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.3908, allocations: 55.69 kB / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3908, allocations: 1.344 kB / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.3908, allocations: 0 / 0.6678 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3909, allocations: 13.83 kB / 0.6679 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.3909, allocations: 32.55 kB / 0.6679 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.3911, allocations: 169.6 kB / 0.668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.3911, allocations: 52.84 kB / 0.6681 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.3911, allocations: 39.44 kB / 0.6681 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3912, allocations: 0 / 0.6681 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.3912, allocations: 35.72 kB / 0.6682 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.3912, allocations: 0 / 0.6682 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001814/0.3914, allocations: 131.2 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3914, allocations: 56.91 kB / 0.6683 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.3915, allocations: 128.7 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.3915, allocations: 27.17 kB / 0.6685 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.3915, allocations: 90.22 kB / 0.6686 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3916, allocations: 31.72 kB / 0.6686 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.3916, allocations: 17.92 kB / 0.6686 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.3916, allocations: 322.4 kB / 0.6689 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.3917, allocations: 32.16 kB / 0.669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.3917, allocations: 33.11 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.3918, allocations: 70.73 kB / 0.6691 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3918, allocations: 3.938 kB / 0.6691 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.514e-05/0.3919, allocations: 106.4 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3919, allocations: 5.062 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3919, allocations: 0 / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3919, allocations: 0 / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3919, allocations: 1.469 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3919, allocations: 0 / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.392, allocations: 13.03 kB / 0.6692 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.392, allocations: 2.469 kB / 0.6692 GB, free: 3.238 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.592e-05/0.392, allocations: 124.3 kB / 0.6693 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3921, allocations: 6.312 kB / 0.6693 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.3921, allocations: 11.98 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.3921, allocations: 9.469 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3921, allocations: 0 / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3921, allocations: 1.125 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.3922, allocations: 173.1 kB / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3922, allocations: 5.469 kB / 0.6695 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3922, allocations: 0 / 0.6695 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3922, allocations: 0 / 0.6695 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3922, allocations: 1.625 kB / 0.6695 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3922, allocations: 0 / 0.6695 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3922, allocations: 7.984 kB / 0.6695 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3924, allocations: 135.3 kB / 0.6696 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.3924, allocations: 83.67 kB / 0.6697 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.3924, allocations: 0 / 0.6697 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.3924, allocations: 5.188 kB / 0.6697 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.3924, allocations: 5.094 kB / 0.6697 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3924, allocations: 2.156 kB / 0.6697 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.3925, allocations: 107.7 kB / 0.6698 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3925, allocations: 1.469 kB / 0.6698 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003109/0.3928, allocations: 69.44 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.000448/0.3933, allocations: 0.7386 MB / 0.6706 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3934, allocations: 67.62 kB / 0.6707 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3934, allocations: 0 / 0.6707 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.3934, allocations: 32.44 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.0001424/0.3936, allocations: 9.078 kB / 0.6707 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.394, allocations: 260.4 kB / 0.671 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3942, allocations: 0.6926 MB / 0.6717 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.3942, allocations: 4.688 kB / 0.6717 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3942, allocations: 20.92 kB / 0.6717 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3942, allocations: 4 kB / 0.6717 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.4117, allocations: 2.816 MB / 0.6744 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.015, allocations: 9.859 kB / 0.6744 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)