Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_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.001275/0.001275, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001182/0.001183, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7737/0.7737, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 72.64 kB / 0.5736 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1325, allocations: 78.86 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002365/0.1349, allocations: 1.244 MB / 0.6518 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1364, allocations: 0.895 MB / 0.6527 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1364, allocations: 0 / 0.6527 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.1364, allocations: 0 / 0.6527 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1365, allocations: 27.95 kB / 0.6527 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.1373, allocations: 245.4 kB / 0.6529 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.1373, allocations: 27.91 kB / 0.653 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.1374, allocations: 8 kB / 0.653 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1374, allocations: 19.97 kB / 0.653 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1376, allocations: 47.94 kB / 0.653 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1376, allocations: 0 / 0.653 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.138, allocations: 279.6 kB / 0.6533 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.1381, allocations: 23.91 kB / 0.6533 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1381, allocations: 11.88 kB / 0.6533 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1384, allocations: 243.6 kB / 0.6536 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1384, allocations: 0 / 0.6536 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1385, allocations: 0 / 0.6536 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1385, allocations: 0 / 0.6536 GB, free: 0.5195 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.0003969/0.1389, allocations: 398.8 kB / 0.6539 GB, free: 84 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1389, allocations: 8.031 kB / 0.654 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.1389, allocations: 34.69 kB / 0.654 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.139, allocations: 8.938 kB / 0.654 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1391, allocations: 176.2 kB / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1391, allocations: 8.125 kB / 0.6542 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1392, allocations: 3.984 kB / 0.6542 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1393, allocations: 53.69 kB / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1393, allocations: 0 / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-06/0.1393, allocations: 0 / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.1393, allocations: 11.98 kB / 0.6542 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.1394, allocations: 35.92 kB / 0.6543 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1396, allocations: 173.7 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.1396, allocations: 58.5 kB / 0.6545 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1397, allocations: 36.89 kB / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.1397, allocations: 0 / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1397, allocations: 30.56 kB / 0.6546 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.41e-07/0.1397, allocations: 0 / 0.6546 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002004/0.1399, allocations: 137.7 kB / 0.6547 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.14, allocations: 55.41 kB / 0.6547 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1401, allocations: 125.8 kB / 0.6549 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1401, allocations: 29.73 kB / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.1402, allocations: 96.12 kB / 0.655 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.1402, allocations: 35.62 kB / 0.655 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1403, allocations: 17.72 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1404, allocations: 326.8 kB / 0.6553 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.1404, allocations: 27.92 kB / 0.6554 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.1405, allocations: 27.98 kB / 0.6554 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.1405, allocations: 68.83 kB / 0.6555 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1406, allocations: 7.969 kB / 0.6555 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001098/0.1407, allocations: 101.6 kB / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1407, allocations: 8 kB / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1407, allocations: 0 / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1407, allocations: 0 / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1407, allocations: 0 / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1407, allocations: 0 / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1407, allocations: 384 / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1408, allocations: 4 kB / 0.6556 GB, free: 14.22 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 8.834e-05/0.1408, allocations: 125.8 kB / 0.6557 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1409, allocations: 7.953 kB / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.1409, allocations: 12.31 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.1409, allocations: 11.98 kB / 0.6557 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1409, allocations: 0 / 0.6557 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1409, allocations: 4 kB / 0.6557 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1411, allocations: 185.5 kB / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1411, allocations: 0 / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1411, allocations: 0 / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1411, allocations: 0 / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.1411, allocations: 0 / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1411, allocations: 4 kB / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1411, allocations: 0 / 0.6559 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1413, allocations: 125 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1413, allocations: 85 kB / 0.6561 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1413, allocations: 7.984 kB / 0.6561 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1413, allocations: 0 / 0.6561 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.1414, allocations: 0 / 0.6561 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1414, allocations: 4 kB / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.1414, allocations: 107.7 kB / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.893e-06/0.1415, allocations: 0 / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002765/0.1417, allocations: 79.78 kB / 0.6563 GB, free: 13.38 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.0006108/0.1424, allocations: 0.7254 MB / 0.657 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.1425, allocations: 75.94 kB / 0.6571 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1425, allocations: 0 / 0.6571 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.1425, allocations: 35.98 kB / 0.6571 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1427, allocations: 7.938 kB / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.1431, allocations: 247.6 kB / 0.6574 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1435, allocations: 0.7001 MB / 0.6581 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.1435, allocations: 8.125 kB / 0.6581 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.1435, allocations: 19.44 kB / 0.6581 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1435, allocations: 0 / 0.6581 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.1659, allocations: 2.834 MB / 0.6608 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.74, allocations: 11.39 kB / 0.6609 GB, free: 8.828 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)