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.001247/0.001247, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001405/0.001405, allocations: 212.8 kB / 22.24 MB, free: 4.855 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.797 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.002461/0.002461, allocations: 292.6 kB / 312.7 MB, free: 2.613 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.136/1.136, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002867/0.002867, allocations: 107.3 kB / 0.7395 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1601, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002253/0.1624, allocations: 1.282 MB / 0.8339 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1638, allocations: 0.844 MB / 0.8348 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.1638, allocations: 4 kB / 0.8348 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.1638, allocations: 0 / 0.8348 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1639, allocations: 35.94 kB / 0.8348 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.1647, allocations: 264.3 kB / 0.8351 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.1647, allocations: 27.95 kB / 0.8351 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.1648, allocations: 4 kB / 0.8351 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.1648, allocations: 23.91 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1649, allocations: 55.94 kB / 0.8352 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1649, allocations: 0 / 0.8352 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.1654, allocations: 299.5 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.1655, allocations: 15.92 kB / 0.8355 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1655, allocations: 7.938 kB / 0.8355 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1658, allocations: 247.6 kB / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1658, allocations: 0 / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1658, allocations: 4 kB / 0.8357 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1658, allocations: 3.938 kB / 0.8357 GB, free: 5.191 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.0003559/0.1662, allocations: 309.8 kB / 0.836 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1662, allocations: 13.22 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1662, allocations: 34.75 kB / 0.8361 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1663, allocations: 8.875 kB / 0.8361 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1664, allocations: 122.4 kB / 0.8362 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1664, allocations: 384 / 0.8362 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.1664, allocations: 384 / 0.8362 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1665, allocations: 69.73 kB / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1665, allocations: 0 / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.1665, allocations: 0 / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.1665, allocations: 11.98 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.1666, allocations: 24 kB / 0.8363 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.1668, allocations: 156.6 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.1668, allocations: 42.56 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.1669, allocations: 32.88 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1669, allocations: 192 / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1669, allocations: 42.44 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1669, allocations: 0 / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0001924/0.1671, allocations: 125.6 kB / 0.8367 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1671, allocations: 55.34 kB / 0.8367 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1672, allocations: 129.8 kB / 0.8368 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1673, allocations: 29.73 kB / 0.8369 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1673, allocations: 96.12 kB / 0.837 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1673, allocations: 23.75 kB / 0.837 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1674, allocations: 25.64 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1675, allocations: 318.8 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.1675, allocations: 23.98 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.1676, allocations: 31.98 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.1676, allocations: 68.83 kB / 0.8374 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1676, allocations: 0 / 0.8374 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.1678, allocations: 105.5 kB / 0.8375 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1678, allocations: 4.062 kB / 0.8375 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1678, allocations: 8 kB / 0.8375 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1678, allocations: 0 / 0.8375 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1678, allocations: 0 / 0.8375 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1678, allocations: 0 / 0.8375 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1678, allocations: 4.328 kB / 0.8375 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1678, allocations: 4 kB / 0.8375 GB, free: 3.117 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.587e-05/0.1679, allocations: 118.5 kB / 0.8377 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1679, allocations: 11.89 kB / 0.8377 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.1679, allocations: 20.3 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.1679, allocations: 8 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.168, allocations: 4 kB / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.168, allocations: 0 / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1681, allocations: 148.7 kB / 0.8378 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1681, allocations: 4 kB / 0.8378 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.1681, allocations: 3.938 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1681, allocations: 0 / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1681, allocations: 3.984 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1681, allocations: 0 / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1681, allocations: 0 / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1682, allocations: 125 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.1683, allocations: 15.83 kB / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1683, allocations: 7.969 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.1683, allocations: 0 / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-06/0.1683, allocations: 0 / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1683, allocations: 4 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.1683, allocations: 103.2 kB / 0.8381 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1683, allocations: 0 / 0.8381 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002731/0.1686, allocations: 75.86 kB / 0.8382 GB, free: 2.402 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.0005804/0.1692, allocations: 0.7293 MB / 0.8389 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1693, allocations: 60.02 kB / 0.8389 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1693, allocations: 0 / 0.8389 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.1693, allocations: 27.98 kB / 0.839 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1695, allocations: 11 kB / 0.839 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1699, allocations: 259.6 kB / 0.8392 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/0.17, allocations: 79.33 kB / 0.8393 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.1701, allocations: 14.36 kB / 0.8393 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1701, allocations: 15.44 kB / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1701, allocations: 0 / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.1978, allocations: 3.271 MB / 0.8425 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.81, allocations: 8.219 kB / 0.8425 GB, free: 14.04 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.694297628011554] Failed to read output from testmodel.py, exit status != 0: 10.9210145608522 10.946117979 10.776864398 Calling exit ...