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.001306/0.001306, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001454/0.001454, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002516/0.002516, allocations: 292.2 kB / 313.5 MB, free: 2.625 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="cs",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="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.0028/0.0028, allocations: 98.58 kB / 0.7403 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 95.39 MB / 0.8335 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002325/0.165, allocations: 1.275 MB / 0.8347 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1665, allocations: 0.8518 MB / 0.8355 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1665, allocations: 3.938 kB / 0.8355 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.1665, allocations: 3.938 kB / 0.8355 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1666, allocations: 31.95 kB / 0.8356 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.1674, allocations: 259.4 kB / 0.8358 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.1675, allocations: 31.91 kB / 0.8358 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.1675, allocations: 4 kB / 0.8358 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.1676, allocations: 19.97 kB / 0.8359 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1677, allocations: 51.88 kB / 0.8359 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.098e-06/0.1677, allocations: 0 / 0.8359 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.1682, allocations: 311.5 kB / 0.8362 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.1683, allocations: 23.92 kB / 0.8362 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.1683, allocations: 15.88 kB / 0.8363 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1686, allocations: 247.6 kB / 0.8365 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1686, allocations: 0 / 0.8365 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1686, allocations: 0 / 0.8365 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1687, allocations: 0 / 0.8365 GB, free: 5.328 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003892/0.169, allocations: 309.8 kB / 0.8368 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1691, allocations: 9.219 kB / 0.8368 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.103e-05/0.1691, allocations: 192 / 0.8368 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.1691, allocations: 38.73 kB / 0.8368 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1692, allocations: 4.891 kB / 0.8368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1693, allocations: 126.4 kB / 0.837 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1693, allocations: 8.359 kB / 0.837 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1693, allocations: 384 / 0.837 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1694, allocations: 53.62 kB / 0.837 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1694, allocations: 0 / 0.837 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.1694, allocations: 0 / 0.837 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.1695, allocations: 15.98 kB / 0.837 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.1695, allocations: 27.98 kB / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.1697, allocations: 152.6 kB / 0.8372 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.1698, allocations: 46.56 kB / 0.8372 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1698, allocations: 36.88 kB / 0.8373 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1698, allocations: 3.938 kB / 0.8373 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1698, allocations: 30.56 kB / 0.8373 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1698, allocations: 0 / 0.8373 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000203/0.17, allocations: 137.7 kB / 0.8374 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1701, allocations: 51.41 kB / 0.8375 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1702, allocations: 129.8 kB / 0.8376 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1702, allocations: 25.7 kB / 0.8376 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1703, allocations: 92.12 kB / 0.8377 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.1703, allocations: 27.75 kB / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1703, allocations: 17.73 kB / 0.8378 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1705, allocations: 326.8 kB / 0.8381 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.1705, allocations: 24 kB / 0.8381 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1705, allocations: 27.98 kB / 0.8381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.1706, allocations: 76.77 kB / 0.8382 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1706, allocations: 0 / 0.8382 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001159/0.1707, allocations: 105.5 kB / 0.8383 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1707, allocations: 4 kB / 0.8383 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1707, allocations: 4 kB / 0.8383 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1707, allocations: 0 / 0.8383 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-06/0.1708, allocations: 4 kB / 0.8383 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1708, allocations: 4.062 kB / 0.8383 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1708, allocations: 3.953 kB / 0.8383 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1708, allocations: 384 / 0.8383 GB, free: 3.25 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 (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 8.83e-05/0.1709, allocations: 126.5 kB / 0.8384 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.1709, allocations: 11.89 kB / 0.8385 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.1709, allocations: 8.359 kB / 0.8385 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.1709, allocations: 15.94 kB / 0.8385 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1709, allocations: 0 / 0.8385 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1709, allocations: 0 / 0.8385 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1711, allocations: 140.7 kB / 0.8386 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1711, allocations: 7.938 kB / 0.8386 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1711, allocations: 0 / 0.8386 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1711, allocations: 4 kB / 0.8386 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1711, allocations: 0 / 0.8386 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1711, allocations: 0 / 0.8386 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1711, allocations: 0 / 0.8386 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1712, allocations: 137 kB / 0.8388 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.1712, allocations: 11.83 kB / 0.8388 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1713, allocations: 4 kB / 0.8388 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.1713, allocations: 0 / 0.8388 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.1713, allocations: 0 / 0.8388 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.1713, allocations: 11.97 kB / 0.8388 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.1713, allocations: 107.6 kB / 0.8389 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1713, allocations: 0 / 0.8389 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002993/0.1716, allocations: 67.88 kB / 0.839 GB, free: 2.535 MB / 0.5762 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.0006512/0.1723, allocations: 0.7293 MB / 0.8397 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1724, allocations: 55.98 kB / 0.8397 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1724, allocations: 3.938 kB / 0.8397 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.1724, allocations: 31.98 kB / 0.8398 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1726, allocations: 160 / 0.8398 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.1731, allocations: 273.6 kB / 0.84 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.701e-05/0.1732, allocations: 83.27 kB / 0.8401 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.1732, allocations: 6.25 kB / 0.8401 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1733, allocations: 19.42 kB / 0.8401 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1733, allocations: 0 / 0.8401 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1971, allocations: 2.958 MB / 0.843 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.94, allocations: 14.34 kB / 0.843 GB, free: 14.48 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.026205815025605] Failed to read output from testmodel.py, exit status != 0: 11.098720056004822 11.11504861 10.943298913 Calling exit ...