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.001078/0.001078, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001288/0.001288, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.002/2.002, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.058/1.058, allocations: 132.3 MB / 423.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005003, allocations: 8.656 kB / 0.5033 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6127, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001424/0.6142, allocations: 0.9693 MB / 0.5839 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.6157, allocations: 0.8239 MB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.6157, allocations: 5.219 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.6158, allocations: 0 / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.6159, allocations: 25.78 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.6167, allocations: 182.7 kB / 0.585 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.6168, allocations: 17.7 kB / 0.585 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.6169, allocations: 1.938 kB / 0.585 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.6169, allocations: 17.33 kB / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.6171, allocations: 32.42 kB / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.6171, allocations: 0.875 kB / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.6176, allocations: 225.9 kB / 0.5852 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.6177, allocations: 18.17 kB / 0.5853 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.6177, allocations: 32.48 kB / 0.5853 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.618, allocations: 152.8 kB / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6181, allocations: 3.938 kB / 0.5854 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6181, allocations: 0.7969 kB / 0.5854 GB, free: 2.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.6181, allocations: 0 / 0.5854 GB, free: 2.547 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.0003831/0.6185, allocations: 381.4 kB / 0.5858 GB, free: 2.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6185, allocations: 9.984 kB / 0.5858 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.6186, allocations: 36.61 kB / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.6186, allocations: 14.25 kB / 0.5859 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6187, allocations: 180.2 kB / 0.586 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6187, allocations: 0.8438 kB / 0.586 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.6187, allocations: 1.391 kB / 0.586 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6189, allocations: 55.75 kB / 0.5861 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6189, allocations: 0 / 0.5861 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6189, allocations: 1.578 kB / 0.5861 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.619, allocations: 11.81 kB / 0.5861 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.619, allocations: 31.41 kB / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.6192, allocations: 176.2 kB / 0.5863 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.6193, allocations: 48.7 kB / 0.5863 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.6193, allocations: 0.6562 kB / 0.5863 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6193, allocations: 36.02 kB / 0.5864 GB, free: 1.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.6194, allocations: 0.9688 kB / 0.5864 GB, free: 1.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002931/0.6197, allocations: 209.1 kB / 0.5866 GB, free: 1.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.6197, allocations: 51.69 kB / 0.5866 GB, free: 1.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6198, allocations: 133.7 kB / 0.5867 GB, free: 1.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.6198, allocations: 26.86 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.6199, allocations: 92.27 kB / 0.5869 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.6199, allocations: 34.14 kB / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6199, allocations: 0 / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.62, allocations: 323.9 kB / 0.5872 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.62, allocations: 28.39 kB / 0.5872 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.6201, allocations: 32.66 kB / 0.5873 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.6202, allocations: 31.98 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6202, allocations: 0 / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001389/0.6203, allocations: 98.44 kB / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6203, allocations: 8.844 kB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6204, allocations: 0 / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6204, allocations: 1.719 kB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.6204, allocations: 0.7969 kB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6204, allocations: 0 / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.6204, allocations: 9.312 kB / 0.5874 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.6204, allocations: 2.672 kB / 0.5874 GB, free: 0.7227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.6205, allocations: 130.6 kB / 0.5875 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.6206, allocations: 2.75 kB / 0.5875 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.6206, allocations: 11.92 kB / 0.5875 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.6206, allocations: 13.22 kB / 0.5876 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6206, allocations: 0.625 kB / 0.5876 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6206, allocations: 0 / 0.5876 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.6208, allocations: 177.2 kB / 0.5877 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6208, allocations: 0 / 0.5877 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-06/0.6208, allocations: 5.172 kB / 0.5877 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6208, allocations: 0 / 0.5877 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.6208, allocations: 6.094 kB / 0.5877 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6208, allocations: 0 / 0.5877 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6209, allocations: 0.9375 kB / 0.5877 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.621, allocations: 127.4 kB / 0.5879 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.6211, allocations: 88.09 kB / 0.5879 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.6211, allocations: 1.859 kB / 0.5879 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.6211, allocations: 0 / 0.5879 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.6211, allocations: 1.547 kB / 0.588 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6211, allocations: 10.97 kB / 0.588 GB, free: 192 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.6212, allocations: 109.6 kB / 0.5881 GB, free: 104 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6212, allocations: 0 / 0.5881 GB, free: 104 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.6217, allocations: 72.42 kB / 0.5881 GB, free: 92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007308/0.6225, allocations: 0.7249 MB / 0.5888 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.6226, allocations: 64.22 kB / 0.5889 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6226, allocations: 0.875 kB / 0.5889 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/0.6227, allocations: 38.97 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.6228, allocations: 2.312 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.6235, allocations: 268.2 kB / 0.5892 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.6238, allocations: 0.7019 MB / 0.5899 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.6239, allocations: 4.219 kB / 0.5899 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.6239, allocations: 23.61 kB / 0.5899 GB, free: 14.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6239, allocations: 0 / 0.5899 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.6396, allocations: 2.598 MB / 0.5924 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.6399, allocations: 247.3 kB / 0.5927 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/4.284, allocations: 1.875 kB / 0.5927 GB, free: 14.07 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/linux/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) Environment - environmentSimulation: