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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 289.8 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 180.9 MB / 0.5261 GB, free: 14.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002648/0.002648, allocations: 102.4 kB / 0.7248 GB, free: 40.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1466, allocations: 94.17 MB / 0.8168 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002292/0.1488, allocations: 1.275 MB / 0.818 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000732/0.1496, allocations: 464.8 kB / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1496, allocations: 0 / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.372e-05/0.1497, allocations: 0 / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.1497, allocations: 7.938 kB / 0.8185 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.15, allocations: 35.88 kB / 0.8185 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.15, allocations: 23.94 kB / 0.8185 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.1501, allocations: 3.984 kB / 0.8185 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.1501, allocations: 11.98 kB / 0.8185 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1502, allocations: 11.92 kB / 0.8186 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.1502, allocations: 4 kB / 0.8186 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1503, allocations: 47.89 kB / 0.8186 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1503, allocations: 19.97 kB / 0.8186 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1504, allocations: 11.88 kB / 0.8186 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1505, allocations: 60.03 kB / 0.8187 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1505, allocations: 0 / 0.8187 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1505, allocations: 0 / 0.8187 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1505, allocations: 0 / 0.8187 GB, free: 3.371 MB / 0.5606 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.0003911/0.1509, allocations: 355.2 kB / 0.819 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1509, allocations: 8.031 kB / 0.819 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.151, allocations: 38.69 kB / 0.8191 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.151, allocations: 8.891 kB / 0.8191 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1511, allocations: 174.9 kB / 0.8192 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1512, allocations: 384 / 0.8192 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.1512, allocations: 384 / 0.8192 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.1513, allocations: 51.47 kB / 0.8193 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1513, allocations: 0 / 0.8193 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1513, allocations: 4 kB / 0.8193 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1513, allocations: 4 kB / 0.8193 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.1513, allocations: 4 kB / 0.8193 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1515, allocations: 170.5 kB / 0.8195 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.1515, allocations: 45.14 kB / 0.8195 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.1516, allocations: 13.78 kB / 0.8195 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1516, allocations: 4 kB / 0.8195 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1516, allocations: 38.5 kB / 0.8196 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1516, allocations: 0 / 0.8196 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.1517, allocations: 53.58 kB / 0.8196 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1518, allocations: 77.11 kB / 0.8197 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1519, allocations: 142 kB / 0.8198 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1519, allocations: 29.7 kB / 0.8199 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.152, allocations: 88.08 kB / 0.8199 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.152, allocations: 11.89 kB / 0.82 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.152, allocations: 25.7 kB / 0.82 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1521, allocations: 322.8 kB / 0.8203 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.1522, allocations: 20 kB / 0.8203 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.1522, allocations: 23.98 kB / 0.8203 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.1523, allocations: 48.09 kB / 0.8204 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1523, allocations: 4 kB / 0.8204 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001277/0.1524, allocations: 101.6 kB / 0.8205 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1524, allocations: 8 kB / 0.8205 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1524, allocations: 0 / 0.8205 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1525, allocations: 0 / 0.8205 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.1525, allocations: 7.938 kB / 0.8205 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1525, allocations: 0 / 0.8205 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.1525, allocations: 7.891 kB / 0.8205 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1525, allocations: 4.094 kB / 0.8205 GB, free: 1.262 MB / 0.5606 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 8.34e-05/0.1526, allocations: 117.8 kB / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.1526, allocations: 11.88 kB / 0.8206 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.1527, allocations: 7.531 kB / 0.8206 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1527, allocations: 4 kB / 0.8206 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1527, allocations: 0 / 0.8206 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1527, allocations: 0 / 0.8206 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.1528, allocations: 173.6 kB / 0.8208 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1528, allocations: 0 / 0.8208 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.1528, allocations: 7.938 kB / 0.8208 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1528, allocations: 0 / 0.8208 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1528, allocations: 0 / 0.8208 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1528, allocations: 7.984 kB / 0.8208 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1528, allocations: 4 kB / 0.8208 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.575e-05/0.1529, allocations: 73.92 kB / 0.8209 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.153, allocations: 89 kB / 0.821 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.153, allocations: 0 / 0.821 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.153, allocations: 4 kB / 0.821 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.153, allocations: 8.031 kB / 0.821 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.153, allocations: 0 / 0.821 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.1531, allocations: 99.25 kB / 0.8211 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1531, allocations: 7.938 kB / 0.8211 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001953/0.1533, allocations: 15.94 kB / 0.8211 GB, free: 0.543 MB / 0.5606 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.0004422/0.1537, allocations: 0.6404 MB / 0.8217 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1538, allocations: 73.67 kB / 0.8218 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1539, allocations: 0 / 0.8218 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.1539, allocations: 4 kB / 0.8218 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.154, allocations: 0 / 0.8218 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1551, allocations: 1.322 MB / 0.8231 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1554, allocations: 0.6807 MB / 0.8238 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.1555, allocations: 7.984 kB / 0.8238 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1555, allocations: 11.44 kB / 0.8238 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1555, allocations: 0 / 0.8238 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.1792, allocations: 1.731 MB / 0.8255 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.829, allocations: 16.77 kB / 0.8255 GB, free: 12.13 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.60930784093216] Failed to read output from testmodel.py, exit status != 0: 7.893386202864349 7.907286597 7.753764868 Calling exit ...