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.0011/0.001099, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001179/0.001179, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9078/0.9078, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.14 kB / 0.505 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.93 MB / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002353/0.1484, allocations: 1.287 MB / 0.5853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1498, allocations: 0.883 MB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1498, allocations: 0 / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.1499, allocations: 0 / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.15, allocations: 35.88 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.1508, allocations: 226.8 kB / 0.5864 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.1509, allocations: 39.84 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.1509, allocations: 0 / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.151, allocations: 19.97 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1511, allocations: 47.94 kB / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1511, allocations: 0 / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.1515, allocations: 279.6 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.1516, allocations: 27.92 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.1516, allocations: 11.88 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1519, allocations: 243.7 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1519, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1519, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1519, allocations: 0 / 0.587 GB, free: 1.637 MB / 494.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.0003685/0.1523, allocations: 391.2 kB / 0.5874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1524, allocations: 11.97 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1524, allocations: 30.75 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.1524, allocations: 8.938 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1525, allocations: 184.2 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1526, allocations: 384 / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.1526, allocations: 3.938 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1527, allocations: 53.69 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1527, allocations: 0 / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.1527, allocations: 0 / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.1527, allocations: 8 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.1528, allocations: 35.92 kB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.153, allocations: 177.5 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.153, allocations: 58.5 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.1531, allocations: 36.89 kB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-06/0.1531, allocations: 0 / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1531, allocations: 34.55 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1531, allocations: 0 / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000183/0.1533, allocations: 130 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1534, allocations: 59.41 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.1535, allocations: 136 kB / 0.5883 GB, free: 112 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.1535, allocations: 25.7 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.1535, allocations: 88.14 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1536, allocations: 27.55 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1536, allocations: 25.66 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.1537, allocations: 318.8 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1537, allocations: 27.98 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.1538, allocations: 27.98 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.1538, allocations: 72.86 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1539, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.154, allocations: 105.5 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.154, allocations: 8 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.154, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.154, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.154, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.154, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.154, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1541, allocations: 7.938 kB / 0.589 GB, free: 15.36 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 7.531e-05/0.1541, allocations: 125.8 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1542, allocations: 7.906 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.1542, allocations: 8.375 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.1542, allocations: 11.98 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1542, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1542, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1544, allocations: 185.5 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1544, allocations: 3.938 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-06/0.1544, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1544, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1544, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1544, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1544, allocations: 3.938 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1545, allocations: 125 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.1546, allocations: 81.09 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1546, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.1546, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1546, allocations: 12.02 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1546, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.1547, allocations: 103.3 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.482e-06/0.1547, allocations: 0 / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003083/0.155, allocations: 71.92 kB / 0.5898 GB, free: 14.52 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.0005593/0.1556, allocations: 0.7256 MB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1557, allocations: 71.91 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1557, allocations: 0 / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.1558, allocations: 35.98 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1559, allocations: 6.672 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.1564, allocations: 291.6 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.1566, allocations: 0.6963 MB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.1567, allocations: 7.938 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.1567, allocations: 23.44 kB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1567, allocations: 0 / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/0.366, allocations: 2.718 MB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/0.3665, allocations: 280.6 kB / 0.5945 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.289, allocations: 0 / 0.5945 GB, free: 9.703 MB / 0.4981 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)