Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 199.3 kB / 16.14 MB, free: 6.664 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7124/0.7124, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.69 kB / 0.5012 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3287, allocations: 80.2 MB / 0.5795 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001999/0.3307, allocations: 1.311 MB / 0.5808 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3319, allocations: 0.9194 MB / 0.5817 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.3319, allocations: 0 / 0.5817 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.332, allocations: 0.7031 kB / 0.5817 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3321, allocations: 27.17 kB / 0.5817 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.3326, allocations: 197.8 kB / 0.5819 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.3327, allocations: 38.3 kB / 0.582 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.3327, allocations: 1.75 kB / 0.582 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.3327, allocations: 22.48 kB / 0.582 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3329, allocations: 45.52 kB / 0.582 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.3329, allocations: 0 / 0.582 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.3333, allocations: 277 kB / 0.5823 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.3333, allocations: 23.66 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.3334, allocations: 20.03 kB / 0.5823 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.3337, allocations: 245.9 kB / 0.5826 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3337, allocations: 0 / 0.5826 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.3337, allocations: 1.094 kB / 0.5826 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.3337, allocations: 0 / 0.5826 GB, free: 2.828 MB / 430.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.0002572/0.334, allocations: 393 kB / 0.583 GB, free: 2.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.334, allocations: 10.52 kB / 0.583 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.062e-05/0.334, allocations: 32.3 kB / 0.583 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.334, allocations: 7.734 kB / 0.583 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.505e-05/0.3341, allocations: 181.2 kB / 0.5832 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3341, allocations: 1.844 kB / 0.5832 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-06/0.3341, allocations: 7.875 kB / 0.5832 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.3342, allocations: 61.06 kB / 0.5832 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.3343, allocations: 0 / 0.5832 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.3343, allocations: 0 / 0.5832 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.3343, allocations: 16.23 kB / 0.5833 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.3343, allocations: 28.3 kB / 0.5833 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3345, allocations: 167.5 kB / 0.5834 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.3345, allocations: 57.53 kB / 0.5835 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.3346, allocations: 41.95 kB / 0.5835 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-06/0.3346, allocations: 0.75 kB / 0.5835 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.3346, allocations: 36.67 kB / 0.5836 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3346, allocations: 0 / 0.5836 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001713/0.3348, allocations: 128.1 kB / 0.5837 GB, free: 1.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.3348, allocations: 52.59 kB / 0.5837 GB, free: 1.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.3349, allocations: 133.8 kB / 0.5839 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-06/0.3349, allocations: 25.7 kB / 0.5839 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.3349, allocations: 88.94 kB / 0.584 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.335, allocations: 29.36 kB / 0.584 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.335, allocations: 20.27 kB / 0.584 GB, free: 1.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.335, allocations: 320.6 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.3351, allocations: 27.7 kB / 0.5844 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.3351, allocations: 31.88 kB / 0.5844 GB, free: 1.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.3352, allocations: 78.47 kB / 0.5845 GB, free: 1.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3352, allocations: 0 / 0.5845 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.3353, allocations: 101.7 kB / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3353, allocations: 5.875 kB / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3353, allocations: 0 / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3353, allocations: 1 kB / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3354, allocations: 0.5625 kB / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3354, allocations: 0.9688 kB / 0.5846 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.3354, allocations: 13.27 kB / 0.5846 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3354, allocations: 2.609 kB / 0.5846 GB, free: 1.039 MB / 430.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 5.243e-05/0.3355, allocations: 133 kB / 0.5847 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.3355, allocations: 10.69 kB / 0.5847 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.3355, allocations: 8.281 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.3355, allocations: 12.19 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3355, allocations: 0.6094 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-06/0.3355, allocations: 1.094 kB / 0.5847 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.495e-05/0.3356, allocations: 176.5 kB / 0.5849 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3356, allocations: 0 / 0.5849 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.3356, allocations: 2.266 kB / 0.5849 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.3356, allocations: 4 kB / 0.5849 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3356, allocations: 1.531 kB / 0.5849 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3357, allocations: 0 / 0.5849 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3357, allocations: 0 / 0.5849 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.3358, allocations: 136.8 kB / 0.5851 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.3358, allocations: 83.73 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.3358, allocations: 1.516 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.3358, allocations: 0 / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.3358, allocations: 6.766 kB / 0.5851 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3358, allocations: 1.312 kB / 0.5851 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.3359, allocations: 105.5 kB / 0.5852 GB, free: 436 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3359, allocations: 0 / 0.5852 GB, free: 436 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3362, allocations: 73.56 kB / 0.5853 GB, free: 424 kB / 430.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.0004916/0.3367, allocations: 0.7243 MB / 0.586 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.3368, allocations: 66.09 kB / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3368, allocations: 0 / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.3368, allocations: 34.89 kB / 0.5861 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.337, allocations: 5.375 kB / 0.5861 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.3374, allocations: 285.3 kB / 0.5864 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3377, allocations: 0.6955 MB / 0.5871 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.3377, allocations: 3.609 kB / 0.5871 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.3378, allocations: 23.22 kB / 0.5871 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3378, allocations: 0 / 0.5871 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.329/1.666, allocations: 2.67 MB / 0.5897 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/1.667, allocations: 273.1 kB / 0.59 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.951, allocations: 2.188 kB / 0.59 GB, free: 14.21 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)