Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001417/0.001417, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 193 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9381/0.9381, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.5143 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 82.04 MB / 0.5944 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002281/0.1439, allocations: 1.243 MB / 0.5957 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1452, allocations: 0.8696 MB / 0.5965 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1453, allocations: 0 / 0.5965 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.1453, allocations: 4 kB / 0.5965 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.1455, allocations: 39.95 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.1462, allocations: 250.1 kB / 0.5968 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.1463, allocations: 31.91 kB / 0.5968 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.1463, allocations: 7.938 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.1464, allocations: 19.97 kB / 0.5968 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1465, allocations: 47.95 kB / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.1465, allocations: 0 / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1469, allocations: 275.6 kB / 0.5972 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.147, allocations: 19.92 kB / 0.5972 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.147, allocations: 15.88 kB / 0.5972 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.1473, allocations: 243.7 kB / 0.5974 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1473, allocations: 3.938 kB / 0.5974 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1473, allocations: 4 kB / 0.5974 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1473, allocations: 0 / 0.5974 GB, free: 6.379 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.0003469/0.1477, allocations: 383.2 kB / 0.5978 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1477, allocations: 8.031 kB / 0.5978 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1478, allocations: 34.75 kB / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1478, allocations: 8.844 kB / 0.5978 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.1479, allocations: 184.2 kB / 0.598 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1479, allocations: 384 / 0.598 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.1479, allocations: 4.375 kB / 0.598 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.148, allocations: 53.81 kB / 0.5981 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.148, allocations: 7.938 kB / 0.5981 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.1481, allocations: 0 / 0.5981 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.1481, allocations: 12 kB / 0.5981 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.1481, allocations: 27.98 kB / 0.5981 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.1483, allocations: 181.5 kB / 0.5983 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.1484, allocations: 50.56 kB / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.1484, allocations: 32.89 kB / 0.5984 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.1484, allocations: 3.984 kB / 0.5984 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1484, allocations: 46.62 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1484, allocations: 0 / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001771/0.1486, allocations: 121.6 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1487, allocations: 55.69 kB / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.1488, allocations: 129.8 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.1488, allocations: 25.7 kB / 0.5987 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.1488, allocations: 96.08 kB / 0.5988 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1489, allocations: 27.55 kB / 0.5989 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1489, allocations: 25.73 kB / 0.5989 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.149, allocations: 318.8 kB / 0.5992 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.149, allocations: 23.98 kB / 0.5992 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.149, allocations: 27.98 kB / 0.5992 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.1491, allocations: 68.83 kB / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1491, allocations: 4 kB / 0.5993 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.1492, allocations: 105.5 kB / 0.5994 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1493, allocations: 4 kB / 0.5994 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1493, allocations: 64 / 0.5994 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1493, allocations: 4 kB / 0.5994 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1493, allocations: 3.938 kB / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1493, allocations: 0 / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1493, allocations: 7.984 kB / 0.5994 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1493, allocations: 0 / 0.5994 GB, free: 4.102 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 6.856e-05/0.1494, allocations: 121.8 kB / 0.5995 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1494, allocations: 7.844 kB / 0.5995 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.1494, allocations: 8.375 kB / 0.5996 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.1495, allocations: 15.98 kB / 0.5996 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1495, allocations: 8 kB / 0.5996 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1495, allocations: 0 / 0.5996 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1496, allocations: 181.5 kB / 0.5997 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1496, allocations: 0 / 0.5997 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.1496, allocations: 4.031 kB / 0.5998 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1496, allocations: 7.875 kB / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.1496, allocations: 0 / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1496, allocations: 0 / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1496, allocations: 0 / 0.5998 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1498, allocations: 121.1 kB / 0.5999 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.1498, allocations: 92.94 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1498, allocations: 0 / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.1498, allocations: 0 / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1498, allocations: 3.938 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1499, allocations: 4 kB / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.1499, allocations: 99.7 kB / 0.6001 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1499, allocations: 0 / 0.6001 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003001/0.1502, allocations: 71.98 kB / 0.6001 GB, free: 3.27 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.000528/0.1508, allocations: 0.7334 MB / 0.6009 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1509, allocations: 67.92 kB / 0.6009 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1509, allocations: 3.938 kB / 0.6009 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.1509, allocations: 35.98 kB / 0.601 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.151, allocations: 4.484 kB / 0.601 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1515, allocations: 263.6 kB / 0.6012 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1517, allocations: 0.6924 MB / 0.6019 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.1518, allocations: 14.33 kB / 0.6019 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1518, allocations: 19.44 kB / 0.6019 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1518, allocations: 3.938 kB / 0.6019 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.3914, allocations: 2.815 MB / 0.6047 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.57, allocations: 8.016 kB / 0.6047 GB, free: 43.59 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)