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.001391/0.001391, allocations: 105.3 kB / 16.41 MB, free: 6.047 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.001548/0.001548, allocations: 192.8 kB / 17.34 MB, free: 5.605 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.62 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 77.94 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001873/0.117, allocations: 1.231 MB / 0.6453 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1182, allocations: 0.8866 MB / 0.6462 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.1183, allocations: 3.938 kB / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.1183, allocations: 0 / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.1184, allocations: 31.94 kB / 0.6462 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1191, allocations: 243.4 kB / 0.6464 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.1191, allocations: 27.97 kB / 0.6465 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.1192, allocations: 7.984 kB / 0.6465 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.1192, allocations: 15.98 kB / 0.6465 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1193, allocations: 43.94 kB / 0.6465 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.1193, allocations: 0 / 0.6465 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1197, allocations: 287.6 kB / 0.6468 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1198, allocations: 19.92 kB / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1198, allocations: 11.88 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1201, allocations: 247.5 kB / 0.6471 GB, free: 6.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1201, allocations: 0 / 0.6471 GB, free: 6.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1201, allocations: 0 / 0.6471 GB, free: 6.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1201, allocations: 4 kB / 0.6471 GB, free: 6.461 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.0003358/0.1204, allocations: 394.8 kB / 0.6474 GB, free: 6.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1205, allocations: 12.56 kB / 0.6475 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1205, allocations: 34.75 kB / 0.6475 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1205, allocations: 8.891 kB / 0.6475 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.1206, allocations: 176.3 kB / 0.6477 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-06/0.1207, allocations: 384 / 0.6477 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1207, allocations: 384 / 0.6477 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.1208, allocations: 65.75 kB / 0.6477 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1208, allocations: 0 / 0.6477 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.1208, allocations: 0 / 0.6477 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.1208, allocations: 15.98 kB / 0.6478 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.1209, allocations: 24 kB / 0.6478 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.121, allocations: 173.7 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.32e-05/0.1211, allocations: 58.59 kB / 0.648 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.1211, allocations: 36.88 kB / 0.648 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-06/0.1211, allocations: 0 / 0.648 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1212, allocations: 34.5 kB / 0.6481 GB, free: 5.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1212, allocations: 4 kB / 0.6481 GB, free: 5.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001715/0.1213, allocations: 133.6 kB / 0.6482 GB, free: 5.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.1214, allocations: 55.44 kB / 0.6482 GB, free: 5.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.1215, allocations: 129.8 kB / 0.6484 GB, free: 4.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1215, allocations: 25.7 kB / 0.6484 GB, free: 4.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.1215, allocations: 88.14 kB / 0.6485 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1216, allocations: 39.62 kB / 0.6485 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1216, allocations: 17.7 kB / 0.6485 GB, free: 4.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.1217, allocations: 318.8 kB / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.1217, allocations: 27.98 kB / 0.6489 GB, free: 4.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.1217, allocations: 31.98 kB / 0.6489 GB, free: 4.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.1218, allocations: 77.08 kB / 0.649 GB, free: 4.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1218, allocations: 0 / 0.649 GB, free: 4.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.433e-05/0.1219, allocations: 105.5 kB / 0.6491 GB, free: 4.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1219, allocations: 4 kB / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1219, allocations: 0 / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.122, allocations: 0 / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.122, allocations: 0 / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.122, allocations: 0 / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.122, allocations: 4 kB / 0.6491 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.122, allocations: 64 / 0.6491 GB, free: 4.176 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.1221, allocations: 129.8 kB / 0.6492 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1221, allocations: 11.89 kB / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.1221, allocations: 8.375 kB / 0.6492 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.1221, allocations: 11.98 kB / 0.6492 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1221, allocations: 4 kB / 0.6492 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1221, allocations: 0 / 0.6492 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1223, allocations: 173.6 kB / 0.6494 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1223, allocations: 0 / 0.6494 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.1223, allocations: 7.938 kB / 0.6494 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1223, allocations: 4 kB / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.1223, allocations: 0 / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1223, allocations: 0 / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1223, allocations: 0 / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1224, allocations: 129 kB / 0.6495 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1225, allocations: 104.9 kB / 0.6496 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.1225, allocations: 0 / 0.6496 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.1225, allocations: 3.984 kB / 0.6496 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.1225, allocations: 4.031 kB / 0.6496 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1225, allocations: 4 kB / 0.6496 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.1226, allocations: 99.27 kB / 0.6497 GB, free: 3.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1226, allocations: 0 / 0.6497 GB, free: 3.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1228, allocations: 67.86 kB / 0.6498 GB, free: 3.328 MB / 494.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 (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.0004889/0.1233, allocations: 0.741 MB / 0.6505 GB, free: 2.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.1234, allocations: 63.98 kB / 0.6506 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1235, allocations: 0 / 0.6506 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.1235, allocations: 35.98 kB / 0.6506 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1236, allocations: 1.641 kB / 0.6506 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1241, allocations: 263.5 kB / 0.6509 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1243, allocations: 0.7002 MB / 0.6516 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.1243, allocations: 6.75 kB / 0.6516 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1243, allocations: 15.44 kB / 0.6516 GB, free: 1.414 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1243, allocations: 0 / 0.6516 GB, free: 1.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.027/1.151, allocations: 2.836 MB / 0.6544 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.05, allocations: 16.58 kB / 0.6544 GB, free: 14.77 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)