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.001287/0.001287, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001355/0.001355, allocations: 215.9 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.002444/0.002444, allocations: 276.8 kB / 313.5 MB, free: 2.828 MB / 238.1 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 1.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 12.85 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 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 102.3 kB / 0.7404 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 95.37 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002454/0.1745, allocations: 1.324 MB / 0.8348 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.1754, allocations: 492.4 kB / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.1754, allocations: 0 / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.736e-05/0.1755, allocations: 0 / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.1755, allocations: 15.92 kB / 0.8353 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1758, allocations: 35.89 kB / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.1759, allocations: 27.91 kB / 0.8354 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.1759, allocations: 4 kB / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.1759, allocations: 7.938 kB / 0.8354 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.176, allocations: 11.98 kB / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.176, allocations: 0 / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1762, allocations: 51.88 kB / 0.8354 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.1762, allocations: 15.92 kB / 0.8355 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1762, allocations: 19.88 kB / 0.8355 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1764, allocations: 64.02 kB / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1764, allocations: 0 / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1764, allocations: 0 / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.1764, allocations: 0 / 0.8355 GB, free: 6.57 MB / 0.5762 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.0003719/0.1768, allocations: 270.2 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1768, allocations: 13.34 kB / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.18e-05/0.1768, allocations: 192 / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.1768, allocations: 34.75 kB / 0.8358 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1769, allocations: 4.891 kB / 0.8359 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.177, allocations: 130.4 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.177, allocations: 384 / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.177, allocations: 384 / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1771, allocations: 47.3 kB / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1771, allocations: 0 / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1772, allocations: 3.938 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.1772, allocations: 4 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.1772, allocations: 11.92 kB / 0.836 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1774, allocations: 149.6 kB / 0.8362 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.1774, allocations: 37.22 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.1775, allocations: 21.75 kB / 0.8362 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1775, allocations: 7.938 kB / 0.8362 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1775, allocations: 38.5 kB / 0.8363 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1775, allocations: 0 / 0.8363 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.1777, allocations: 49.62 kB / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1777, allocations: 77.11 kB / 0.8364 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1778, allocations: 139.8 kB / 0.8365 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1779, allocations: 25.7 kB / 0.8366 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1779, allocations: 92.38 kB / 0.8367 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.1779, allocations: 11.89 kB / 0.8367 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.178, allocations: 25.7 kB / 0.8367 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1781, allocations: 318.8 kB / 0.837 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/0.1782, allocations: 23.98 kB / 0.837 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.1782, allocations: 23.98 kB / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/0.1783, allocations: 45.72 kB / 0.8371 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1783, allocations: 0 / 0.8371 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000132/0.1784, allocations: 105.5 kB / 0.8372 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1784, allocations: 12 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.1784, allocations: 0 / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1784, allocations: 0 / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.1785, allocations: 4 kB / 0.8372 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1785, allocations: 0 / 0.8372 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.1785, allocations: 7.891 kB / 0.8372 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1785, allocations: 4 kB / 0.8372 GB, free: 4.648 MB / 0.5762 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.81e-05/0.1786, allocations: 114.5 kB / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1786, allocations: 7.891 kB / 0.8373 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.1787, allocations: 11.47 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1787, allocations: 4 kB / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1787, allocations: 0 / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1787, allocations: 0 / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1788, allocations: 128.8 kB / 0.8375 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1788, allocations: 7.875 kB / 0.8375 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1788, allocations: 7.984 kB / 0.8375 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1788, allocations: 0 / 0.8375 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1788, allocations: 0 / 0.8375 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.1788, allocations: 15.88 kB / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1788, allocations: 0 / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.582e-05/0.1789, allocations: 77.94 kB / 0.8376 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.1789, allocations: 7.938 kB / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1789, allocations: 0 / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.1789, allocations: 4 kB / 0.8376 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.179, allocations: 0 / 0.8376 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.179, allocations: 0 / 0.8376 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.179, allocations: 109.2 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002227/0.1793, allocations: 16 kB / 0.8377 GB, free: 4.07 MB / 0.5762 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.0004488/0.1797, allocations: 0.6327 MB / 0.8383 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1799, allocations: 69.69 kB / 0.8384 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1799, allocations: 0 / 0.8384 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.1799, allocations: 11.92 kB / 0.8384 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.18, allocations: 4 kB / 0.8384 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1813, allocations: 1.3 MB / 0.8397 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1816, allocations: 0.6963 MB / 0.8403 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.1816, allocations: 0 / 0.8403 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1816, allocations: 23.42 kB / 0.8404 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.1817, allocations: 0 / 0.8404 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.211, allocations: 1.814 MB / 0.8421 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.95, allocations: 11.89 kB / 0.8422 GB, free: 15.57 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.948051617015153] Failed to read output from testmodel.py, exit status != 0: 11.110380778030958 11.128422847 10.948754292 Calling exit ...