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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 217.3 kB / 22.26 MB, free: 5.125 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.973 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.002415/0.002415, allocations: 282.1 kB / 312.7 MB, free: 2.781 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.153/1.153, allocations: 180.6 MB / 0.5369 GB, free: 12.9 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="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: 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.002794/0.002794, allocations: 113.8 kB / 0.7396 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1637, allocations: 95.38 MB / 0.8328 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002583/0.1662, allocations: 1.284 MB / 0.834 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1679, allocations: 0.9335 MB / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.168, allocations: 0 / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.168, allocations: 0 / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1681, allocations: 27.95 kB / 0.835 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.169, allocations: 275.3 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.1691, allocations: 23.97 kB / 0.8353 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1691, allocations: 0 / 0.8353 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.1692, allocations: 19.97 kB / 0.8353 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1693, allocations: 55.94 kB / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.1693, allocations: 0 / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.1699, allocations: 323.5 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.1699, allocations: 27.89 kB / 0.8357 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1699, allocations: 15.88 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.1703, allocations: 239.6 kB / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1703, allocations: 3.938 kB / 0.8359 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1703, allocations: 0 / 0.8359 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.1703, allocations: 0 / 0.8359 GB, free: 5.355 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.0004178/0.1707, allocations: 318.5 kB / 0.8362 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1708, allocations: 12.62 kB / 0.8362 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1708, allocations: 34.75 kB / 0.8363 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1709, allocations: 12.88 kB / 0.8363 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.171, allocations: 114.4 kB / 0.8364 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.171, allocations: 384 / 0.8364 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.171, allocations: 4.312 kB / 0.8364 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1711, allocations: 65.75 kB / 0.8364 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1711, allocations: 0 / 0.8364 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1711, allocations: 4 kB / 0.8364 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.1712, allocations: 11.98 kB / 0.8365 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.1712, allocations: 28 kB / 0.8365 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1714, allocations: 148.6 kB / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.651e-05/0.1715, allocations: 46.59 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.1715, allocations: 32.88 kB / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.1715, allocations: 0 / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1716, allocations: 42.5 kB / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1716, allocations: 0 / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000223/0.1718, allocations: 129.7 kB / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1718, allocations: 55.39 kB / 0.8369 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.172, allocations: 125.8 kB / 0.837 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.172, allocations: 25.7 kB / 0.8371 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.172, allocations: 104 kB / 0.8372 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1721, allocations: 23.75 kB / 0.8372 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.1721, allocations: 25.73 kB / 0.8372 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1723, allocations: 318.8 kB / 0.8375 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.1723, allocations: 23.98 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.1723, allocations: 27.98 kB / 0.8376 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.1724, allocations: 81.08 kB / 0.8376 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1724, allocations: 0 / 0.8376 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001189/0.1725, allocations: 101.6 kB / 0.8377 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1725, allocations: 4 kB / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1725, allocations: 0 / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1726, allocations: 64 / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1726, allocations: 4 kB / 0.8377 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1726, allocations: 4 kB / 0.8378 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.1726, allocations: 7.953 kB / 0.8378 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1726, allocations: 3.938 kB / 0.8378 GB, free: 3.262 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.819e-05/0.1727, allocations: 122.5 kB / 0.8379 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.1727, allocations: 7.891 kB / 0.8379 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.1727, allocations: 12.36 kB / 0.8379 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.1727, allocations: 12 kB / 0.8379 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1727, allocations: 4 kB / 0.8379 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1727, allocations: 0 / 0.8379 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1729, allocations: 144.7 kB / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1729, allocations: 0 / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-06/0.1729, allocations: 3.938 kB / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1729, allocations: 0 / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1729, allocations: 4 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1729, allocations: 0 / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1729, allocations: 3.984 kB / 0.8381 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.173, allocations: 133 kB / 0.8382 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.173, allocations: 15.83 kB / 0.8382 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1731, allocations: 0 / 0.8382 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.1731, allocations: 0 / 0.8382 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.1731, allocations: 4 kB / 0.8382 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1731, allocations: 0 / 0.8382 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.1732, allocations: 107.2 kB / 0.8383 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1732, allocations: 3.938 kB / 0.8383 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003093/0.1735, allocations: 75.84 kB / 0.8384 GB, free: 2.547 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.0006603/0.1741, allocations: 0.7333 MB / 0.8391 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1742, allocations: 55.98 kB / 0.8392 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1742, allocations: 0 / 0.8392 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.1743, allocations: 31.98 kB / 0.8392 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1744, allocations: 4.094 kB / 0.8392 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.1749, allocations: 259.7 kB / 0.8394 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1753, allocations: 0.6924 MB / 0.8401 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1753, allocations: 4 kB / 0.8401 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1753, allocations: 23.42 kB / 0.8401 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1753, allocations: 4 kB / 0.8401 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.2171, allocations: 2.948 MB / 0.843 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.87, allocations: 6.438 kB / 0.843 GB, free: 13.88 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: 14.927591869840398] Failed to read output from testmodel.py, exit status != 0: 10.970010780962184 10.993850899 10.819240722 Calling exit ...