Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.0007788/0.0007788, 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.0007713/0.0007713, 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.8309/0.8309, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001511/0.001511, allocations: 245.1 kB / 259.4 MB, free: 13.02 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.6311/0.6311, allocations: 138.5 MB / 454.3 MB, free: 1.609 MB / 362.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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6464 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.871e-05, allocations: 2.281 kB / 0.6464 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00143/0.001449, allocations: 1.305 MB / 0.6476 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.00195, allocations: 448.9 kB / 0.6481 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.001978, allocations: 3.938 kB / 0.6481 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 7.261e-05/0.00205, allocations: 0 / 0.6481 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.002108, allocations: 14.34 kB / 0.6481 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.002344, allocations: 30.34 kB / 0.6481 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.002411, allocations: 23.59 kB / 0.6481 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.002446, allocations: 1.469 kB / 0.6481 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.002485, allocations: 22.86 kB / 0.6482 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.002544, allocations: 13.5 kB / 0.6482 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.002556, allocations: 1.562 kB / 0.6482 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.002651, allocations: 35.8 kB / 0.6482 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.002696, allocations: 19.67 kB / 0.6482 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.002718, allocations: 6.531 kB / 0.6482 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.002828, allocations: 63.47 kB / 0.6483 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00283, allocations: 0 / 0.6483 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002831, allocations: 3.938 kB / 0.6483 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.002834, allocations: 0 / 0.6483 GB, free: 27.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002455/0.00308, allocations: 274.5 kB / 0.6486 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.003118, allocations: 15.22 kB / 0.6486 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.003144, allocations: 30.75 kB / 0.6486 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.003165, allocations: 6.203 kB / 0.6486 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.029e-05/0.003255, allocations: 115.1 kB / 0.6487 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.003263, allocations: 5.438 kB / 0.6487 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.00327, allocations: 1.531 kB / 0.6487 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.003345, allocations: 44.47 kB / 0.6488 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003351, allocations: 5.281 kB / 0.6488 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.003358, allocations: 4.125 kB / 0.6488 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.003362, allocations: 0 / 0.6488 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.003382, allocations: 13.41 kB / 0.6488 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.955e-05/0.003481, allocations: 147.1 kB / 0.6489 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/0.003517, allocations: 37.91 kB / 0.649 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.003541, allocations: 19.16 kB / 0.649 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.003548, allocations: 1.219 kB / 0.649 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.003561, allocations: 35.64 kB / 0.649 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.003562, allocations: 5.188 kB / 0.649 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.003671, allocations: 50.45 kB / 0.6491 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.003692, allocations: 85.12 kB / 0.6492 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.003756, allocations: 144.1 kB / 0.6493 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-06/0.003761, allocations: 25.7 kB / 0.6493 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.665e-05/0.003777, allocations: 82.48 kB / 0.6494 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.003792, allocations: 9.531 kB / 0.6494 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.003821, allocations: 26.41 kB / 0.6494 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.966e-05/0.003851, allocations: 317.4 kB / 0.6497 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.003885, allocations: 27.23 kB / 0.6498 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.003907, allocations: 21.09 kB / 0.6498 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.27e-05/0.00396, allocations: 48.08 kB / 0.6498 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.003962, allocations: 0 / 0.6498 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.751e-05/0.00405, allocations: 105.7 kB / 0.6499 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.004064, allocations: 5 kB / 0.6499 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.004081, allocations: 1.219 kB / 0.6499 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.004092, allocations: 3.938 kB / 0.6499 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.004139, allocations: 6.547 kB / 0.6499 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.004144, allocations: 1.438 kB / 0.6499 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.004164, allocations: 13.83 kB / 0.65 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.004171, allocations: 9.266 kB / 0.65 GB, free: 25.99 MB / 0.5105 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.152e-05/0.004212, allocations: 111.8 kB / 0.6501 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-06/0.004218, allocations: 9.453 kB / 0.6501 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.004234, allocations: 7.453 kB / 0.6501 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.004236, allocations: 5.031 kB / 0.6501 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.004242, allocations: 1.156 kB / 0.6501 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004245, allocations: 0 / 0.6501 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.717e-05/0.004292, allocations: 140.8 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004293, allocations: 1.188 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.004302, allocations: 3.531 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004303, allocations: 0 / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.004309, allocations: 1.094 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.00431, allocations: 5.188 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004311, allocations: 4 kB / 0.6502 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.683e-05/0.004357, allocations: 73.94 kB / 0.6503 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.004364, allocations: 2.406 kB / 0.6503 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.004373, allocations: 1.188 kB / 0.6503 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.004381, allocations: 5.031 kB / 0.6503 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.004396, allocations: 13.12 kB / 0.6503 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.004398, allocations: 2.062 kB / 0.6503 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.004427, allocations: 97.55 kB / 0.6504 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.004427, allocations: 0 / 0.6504 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001454/0.004572, allocations: 27.25 kB / 0.6504 GB, free: 25.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001876/0.00476, allocations: 0.6219 MB / 0.6511 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.00487, allocations: 81.92 kB / 0.6511 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.004872, allocations: 0 / 0.6511 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.662e-06/0.004879, allocations: 4.094 kB / 0.6511 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.004988, allocations: 2.312 kB / 0.6511 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.0056, allocations: 1.315 MB / 0.6524 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.005634, allocations: 75.55 kB / 0.6525 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.005653, allocations: 0 / 0.6525 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.005678, allocations: 14.28 kB / 0.6525 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.005679, allocations: 0 / 0.6525 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.02025, allocations: 2.333 MB / 0.6548 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.427/6.447, allocations: 14.64 kB / 0.6548 GB, free: 22.12 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_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_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.045286506414413] Failed to read output from testmodel.py, exit status != 0: 6.524699576199055 6.531292365 6.527053065 Calling exit ...