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.0008725/0.0008725, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008768/0.0008768, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9224/0.9224, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 12 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001335/0.1738, allocations: 0.9633 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1752, allocations: 0.8252 MB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.1752, allocations: 0 / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.1752, allocations: 0 / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1754, allocations: 35.94 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.176, allocations: 191.6 kB / 0.5895 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1761, allocations: 19.97 kB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1762, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.1762, allocations: 19.97 kB / 0.5895 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1763, allocations: 43.95 kB / 0.5896 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1764, allocations: 4 kB / 0.5896 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1767, allocations: 235.6 kB / 0.5898 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.1768, allocations: 19.98 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1768, allocations: 33.64 kB / 0.5898 GB, free: 460 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.177, allocations: 156 kB / 0.59 GB, free: 304 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.177, allocations: 0 / 0.59 GB, free: 304 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.177, allocations: 0 / 0.59 GB, free: 304 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1771, allocations: 0 / 0.59 GB, free: 304 kB / 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.000368/0.1774, allocations: 379.1 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1775, allocations: 8.031 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.1775, allocations: 46.55 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.1776, allocations: 7.891 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1777, allocations: 174.9 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1777, allocations: 3.984 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1777, allocations: 4 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1778, allocations: 61.56 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1779, allocations: 0 / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1779, allocations: 0 / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.1779, allocations: 15.98 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.178, allocations: 23.98 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1782, allocations: 181.6 kB / 0.5908 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.1782, allocations: 50.75 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.1783, allocations: 40.81 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1783, allocations: 0 / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1784, allocations: 30.56 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.1784, allocations: 4 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002036/0.1786, allocations: 137.5 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1786, allocations: 51.41 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1787, allocations: 133.7 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1787, allocations: 25.7 kB / 0.5913 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1788, allocations: 84.14 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1788, allocations: 31.55 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.1788, allocations: 0 / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.179, allocations: 318.8 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.179, allocations: 32.02 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.179, allocations: 31.98 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.1791, allocations: 31.98 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1791, allocations: 3.938 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.1792, allocations: 101.8 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1792, allocations: 6.5 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1792, allocations: 0 / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1793, allocations: 0 / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1793, allocations: 0 / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1793, allocations: 4 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.1793, allocations: 3.969 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1793, allocations: 4 kB / 0.5919 GB, free: 14.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.1794, allocations: 129.8 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.1794, allocations: 4 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.1795, allocations: 12.36 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.1795, allocations: 12 kB / 0.5921 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1795, allocations: 0 / 0.5921 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1795, allocations: 0 / 0.5921 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1797, allocations: 181.5 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1797, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.1797, allocations: 7.938 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1797, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1797, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1797, allocations: 4 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1797, allocations: 0 / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1798, allocations: 125 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1799, allocations: 92.91 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1799, allocations: 0 / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.1799, allocations: 4.031 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1799, allocations: 3.938 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.18, allocations: 4 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.18, allocations: 103.2 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.18, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002924/0.1803, allocations: 64 kB / 0.5926 GB, free: 13.25 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 (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.000581/0.1809, allocations: 0.7334 MB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.181, allocations: 67.92 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.181, allocations: 0 / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.1811, allocations: 35.98 kB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1812, allocations: 4 kB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.1817, allocations: 271 kB / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.182, allocations: 0.6965 MB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.1821, allocations: 15.81 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1821, allocations: 15.44 kB / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1821, allocations: 0 / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.1945, allocations: 2.627 MB / 0.597 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.1948, allocations: 258.2 kB / 0.5972 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.982, allocations: 0 / 0.5972 GB, free: 8.598 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/linux/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) Environment - environmentSimulation: