Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007379/0.0007379, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8436/0.8436, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001478/0.001478, allocations: 238.5 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6853/0.6853, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 4 kB / 0.6463 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.957e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001545/0.001565, allocations: 1.276 MB / 0.6476 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2177/0.2193, allocations: 0.8506 MB / 0.6484 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.2193, allocations: 0 / 0.6484 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.2194, allocations: 1.688 kB / 0.6484 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2195, allocations: 32.45 kB / 0.6485 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.2202, allocations: 262.6 kB / 0.6487 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.2203, allocations: 27.58 kB / 0.6487 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.2203, allocations: 2.125 kB / 0.6487 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.2204, allocations: 26.11 kB / 0.6488 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.2205, allocations: 56.31 kB / 0.6488 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2205, allocations: 0 / 0.6488 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.2209, allocations: 296 kB / 0.6491 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.221, allocations: 21.73 kB / 0.6491 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.221, allocations: 4.5 kB / 0.6491 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.2213, allocations: 291.3 kB / 0.6494 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2214, allocations: 0 / 0.6494 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2214, allocations: 0.7188 kB / 0.6494 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2214, allocations: 0.875 kB / 0.6494 GB, free: 55.93 MB / 0.5573 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.0002688/0.2216, allocations: 309.8 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2217, allocations: 12.53 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.215e-05/0.2217, allocations: 35.69 kB / 0.6497 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.2217, allocations: 9.031 kB / 0.6498 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.641e-05/0.2218, allocations: 118.6 kB / 0.6499 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2218, allocations: 2.734 kB / 0.6499 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2218, allocations: 384 / 0.6499 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.2219, allocations: 62.14 kB / 0.6499 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2219, allocations: 192 / 0.6499 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2219, allocations: 5.344 kB / 0.6499 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2219, allocations: 14.2 kB / 0.6499 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.222, allocations: 22.88 kB / 0.65 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.2221, allocations: 150.3 kB / 0.6501 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.2221, allocations: 48.12 kB / 0.6502 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.2222, allocations: 40.45 kB / 0.6502 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.2222, allocations: 0.6562 kB / 0.6502 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.2222, allocations: 31.12 kB / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.2222, allocations: 0 / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0001618/0.2223, allocations: 145.1 kB / 0.6504 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.2224, allocations: 54.19 kB / 0.6504 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.2224, allocations: 127.1 kB / 0.6505 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.2224, allocations: 27.73 kB / 0.6506 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.877e-05/0.2225, allocations: 86.2 kB / 0.6506 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2225, allocations: 33.58 kB / 0.6507 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.2225, allocations: 18.38 kB / 0.6507 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.691e-05/0.2225, allocations: 322 kB / 0.651 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.2226, allocations: 30.42 kB / 0.651 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.2226, allocations: 22.95 kB / 0.6511 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.2226, allocations: 71.62 kB / 0.6511 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2226, allocations: 0 / 0.6511 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.102e-05/0.2227, allocations: 104.6 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2227, allocations: 3.375 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2227, allocations: 2.5 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2227, allocations: 3.938 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.2227, allocations: 1.125 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2227, allocations: 0 / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.2227, allocations: 3.953 kB / 0.6512 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2228, allocations: 6.188 kB / 0.6512 GB, free: 54.48 MB / 0.5573 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 4.285e-05/0.2228, allocations: 125.5 kB / 0.6514 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.2228, allocations: 6.844 kB / 0.6514 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.2228, allocations: 9.766 kB / 0.6514 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.2228, allocations: 14.89 kB / 0.6514 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2228, allocations: 7.5 kB / 0.6514 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2228, allocations: 2.125 kB / 0.6514 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.805e-05/0.2229, allocations: 148.6 kB / 0.6515 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2229, allocations: 0 / 0.6515 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.2229, allocations: 5.109 kB / 0.6515 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2229, allocations: 3.531 kB / 0.6516 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2229, allocations: 0 / 0.6516 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2229, allocations: 3.938 kB / 0.6516 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2229, allocations: 0 / 0.6516 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.223, allocations: 128.5 kB / 0.6517 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.223, allocations: 8.812 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.223, allocations: 1.75 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.223, allocations: 3.938 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.223, allocations: 2.984 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.223, allocations: 1.594 kB / 0.6517 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.2231, allocations: 102.8 kB / 0.6518 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2231, allocations: 2.281 kB / 0.6518 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002211/0.2233, allocations: 72.97 kB / 0.6519 GB, free: 54.03 MB / 0.5573 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.0003456/0.2236, allocations: 0.7404 MB / 0.6526 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.2237, allocations: 60.92 kB / 0.6526 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2237, allocations: 1.25 kB / 0.6526 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.2237, allocations: 33.38 kB / 0.6527 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.2239, allocations: 5.203 kB / 0.6527 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.2242, allocations: 258.7 kB / 0.6529 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.2243, allocations: 83.72 kB / 0.653 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.2243, allocations: 8.953 kB / 0.653 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.2243, allocations: 22.27 kB / 0.653 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of SimCode: time 2.6e-07/0.2243, allocations: 3.938 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.2412, allocations: 3.422 MB / 0.6564 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.266/6.507, allocations: 10.48 kB / 0.6564 GB, free: 52.33 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.09550377074629] Failed to read output from testmodel.py, exit status != 0: 6.586527983658016 6.595665155 6.372614094 Calling exit ...