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.001703/0.001703, allocations: 110.1 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.002098/0.002098, allocations: 219.5 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002458/0.002458, allocations: 290.5 kB / 313.5 MB, free: 2.809 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.164/1.164, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.0027/0.0027, allocations: 106.2 kB / 0.7404 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1557, allocations: 95.38 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002241/0.1579, allocations: 1.274 MB / 0.8348 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1594, allocations: 0.9413 MB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1595, allocations: 0 / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1595, allocations: 0 / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1596, allocations: 27.95 kB / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.1604, allocations: 273.7 kB / 0.836 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.1605, allocations: 27.91 kB / 0.836 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.1605, allocations: 0 / 0.836 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.1605, allocations: 19.97 kB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1607, allocations: 59.92 kB / 0.8361 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1607, allocations: 3.938 kB / 0.8361 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1612, allocations: 323.5 kB / 0.8364 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.1612, allocations: 15.98 kB / 0.8364 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.1612, allocations: 19.81 kB / 0.8364 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1616, allocations: 247.5 kB / 0.8367 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1616, allocations: 0 / 0.8367 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1616, allocations: 0 / 0.8367 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1616, allocations: 0 / 0.8367 GB, free: 5.402 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.0003761/0.162, allocations: 313.8 kB / 0.837 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.162, allocations: 8.625 kB / 0.837 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.318e-05/0.162, allocations: 4.188 kB / 0.837 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1621, allocations: 38.75 kB / 0.837 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.1621, allocations: 4.891 kB / 0.837 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1622, allocations: 126.4 kB / 0.8372 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1622, allocations: 4.312 kB / 0.8372 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.1622, allocations: 384 / 0.8372 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1623, allocations: 61.56 kB / 0.8372 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1623, allocations: 3.984 kB / 0.8372 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.1623, allocations: 4 kB / 0.8372 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.1624, allocations: 8 kB / 0.8372 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.1624, allocations: 31.98 kB / 0.8373 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1626, allocations: 148.6 kB / 0.8374 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.1627, allocations: 46.56 kB / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.1627, allocations: 28.89 kB / 0.8375 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1627, allocations: 4.125 kB / 0.8375 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1627, allocations: 42.42 kB / 0.8375 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1627, allocations: 4 kB / 0.8375 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0001984/0.1629, allocations: 121.6 kB / 0.8376 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.163, allocations: 63.34 kB / 0.8377 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1631, allocations: 125.8 kB / 0.8378 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1631, allocations: 25.7 kB / 0.8378 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.1631, allocations: 88.14 kB / 0.8379 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1632, allocations: 27.73 kB / 0.838 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1632, allocations: 21.72 kB / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1633, allocations: 322.9 kB / 0.8383 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.1634, allocations: 27.98 kB / 0.8383 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.1634, allocations: 27.98 kB / 0.8383 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.1635, allocations: 73.14 kB / 0.8384 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1635, allocations: 0 / 0.8384 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.1636, allocations: 109.5 kB / 0.8385 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1636, allocations: 8 kB / 0.8385 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1636, allocations: 0 / 0.8385 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1636, allocations: 0 / 0.8385 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.1636, allocations: 0 / 0.8385 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1636, allocations: 8.062 kB / 0.8385 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1636, allocations: 3.953 kB / 0.8385 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1636, allocations: 4 kB / 0.8385 GB, free: 3.309 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.641e-05/0.1637, allocations: 118.5 kB / 0.8386 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1637, allocations: 11.89 kB / 0.8387 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1638, allocations: 8.375 kB / 0.8387 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.1638, allocations: 11.98 kB / 0.8387 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1638, allocations: 0 / 0.8387 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1638, allocations: 0 / 0.8387 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1639, allocations: 156.7 kB / 0.8388 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1639, allocations: 3.938 kB / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1639, allocations: 0 / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1639, allocations: 0 / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1639, allocations: 0 / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1639, allocations: 3.938 kB / 0.8388 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1639, allocations: 3.984 kB / 0.8388 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1641, allocations: 121.1 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1641, allocations: 15.86 kB / 0.839 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1641, allocations: 11.92 kB / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.1641, allocations: 0 / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.1641, allocations: 0 / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1641, allocations: 7.938 kB / 0.839 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.1642, allocations: 99.27 kB / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1642, allocations: 0 / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002906/0.1645, allocations: 71.86 kB / 0.8392 GB, free: 2.602 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.0006262/0.1651, allocations: 0.7293 MB / 0.8399 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.1652, allocations: 63.97 kB / 0.8399 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1652, allocations: 0 / 0.8399 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.1653, allocations: 27.98 kB / 0.84 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1654, allocations: 7.984 kB / 0.84 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1659, allocations: 259.8 kB / 0.8402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1662, allocations: 0.7001 MB / 0.8409 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1662, allocations: 9.812 kB / 0.8409 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1663, allocations: 19.44 kB / 0.8409 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1663, allocations: 0 / 0.8409 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1882, allocations: 2.977 MB / 0.8438 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.96, allocations: 3.5 kB / 0.8438 GB, free: 13.91 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.110080418991856] Failed to read output from testmodel.py, exit status != 0: 11.114101835002657 11.142646226 10.976062726 Calling exit ...