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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 287.3 kB / 306.6 MB, free: 8.297 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.2/1.2, allocations: 180.9 MB / 0.53 GB, free: 14.7 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 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 104.3 kB / 0.7309 GB, free: 38.9 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1456, allocations: 94.2 MB / 0.8229 GB, free: 1.922 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002174/0.1478, allocations: 1.254 MB / 0.8241 GB, free: 0.6562 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001437/0.1492, allocations: 0.9099 MB / 0.825 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1492, allocations: 0 / 0.825 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1493, allocations: 0 / 0.825 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.1493, allocations: 23.97 kB / 0.825 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.1501, allocations: 275.3 kB / 0.8253 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.1502, allocations: 27.91 kB / 0.8253 GB, free: 15.42 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.1502, allocations: 3.984 kB / 0.8253 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.1503, allocations: 19.92 kB / 0.8253 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1504, allocations: 59.92 kB / 0.8254 GB, free: 15.34 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1504, allocations: 8 kB / 0.8254 GB, free: 15.33 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.1509, allocations: 319.5 kB / 0.8257 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.151, allocations: 19.92 kB / 0.8257 GB, free: 15 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.151, allocations: 15.88 kB / 0.8257 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.1513, allocations: 247.3 kB / 0.826 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1513, allocations: 3.938 kB / 0.826 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 9.72e-07/0.1513, allocations: 0 / 0.826 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.007e-06/0.1513, allocations: 0 / 0.826 GB, free: 14.73 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.0003686/0.1517, allocations: 313.8 kB / 0.8263 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1517, allocations: 8.031 kB / 0.8263 GB, free: 14.39 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.1518, allocations: 16.89 kB / 0.8263 GB, free: 14.38 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1519, allocations: 114.4 kB / 0.8264 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-06/0.1519, allocations: 384 / 0.8264 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1519, allocations: 384 / 0.8264 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.152, allocations: 65.98 kB / 0.8265 GB, free: 14.17 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.152, allocations: 3.938 kB / 0.8265 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.152, allocations: 3.984 kB / 0.8265 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.152, allocations: 11.98 kB / 0.8265 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1521, allocations: 23.98 kB / 0.8265 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.1523, allocations: 152.7 kB / 0.8267 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.1523, allocations: 42.58 kB / 0.8267 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.1524, allocations: 32.88 kB / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.1524, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1524, allocations: 38.62 kB / 0.8268 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=10): time 8.02e-07/0.1524, allocations: 0 / 0.8268 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=10): time 0.0001979/0.1526, allocations: 129.6 kB / 0.8269 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1526, allocations: 55.44 kB / 0.8269 GB, free: 13.6 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1527, allocations: 133.8 kB / 0.8271 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1528, allocations: 25.98 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.1528, allocations: 88.14 kB / 0.8272 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1528, allocations: 39.62 kB / 0.8272 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1529, allocations: 21.66 kB / 0.8272 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001287/0.153, allocations: 318.8 kB / 0.8275 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.153, allocations: 27.98 kB / 0.8276 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.1531, allocations: 28 kB / 0.8276 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/0.1531, allocations: 68.83 kB / 0.8277 GB, free: 12.83 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1531, allocations: 0 / 0.8277 GB, free: 12.83 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000134/0.1533, allocations: 105.6 kB / 0.8278 GB, free: 12.72 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1533, allocations: 11.94 kB / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1533, allocations: 0 / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1533, allocations: 3.984 kB / 0.8278 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1533, allocations: 0 / 0.8278 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1533, allocations: 0 / 0.8278 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1533, allocations: 4.016 kB / 0.8278 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1533, allocations: 8 kB / 0.8278 GB, free: 12.69 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.627e-05/0.1534, allocations: 118.5 kB / 0.8279 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.1534, allocations: 7.938 kB / 0.8279 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.1534, allocations: 8.375 kB / 0.8279 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.1535, allocations: 11.98 kB / 0.8279 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1535, allocations: 0 / 0.8279 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1535, allocations: 4 kB / 0.8279 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1536, allocations: 144.7 kB / 0.8281 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1536, allocations: 3.984 kB / 0.8281 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1536, allocations: 4 kB / 0.8281 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1536, allocations: 3.938 kB / 0.8281 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.1536, allocations: 4.031 kB / 0.8281 GB, free: 12.33 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1536, allocations: 3.938 kB / 0.8281 GB, free: 12.33 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1536, allocations: 0 / 0.8281 GB, free: 12.33 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1538, allocations: 125.1 kB / 0.8282 GB, free: 12.19 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.1538, allocations: 15.83 kB / 0.8282 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.1538, allocations: 0 / 0.8282 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.1538, allocations: 4.031 kB / 0.8282 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1538, allocations: 3.984 kB / 0.8282 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1538, allocations: 7.938 kB / 0.8282 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.482e-05/0.1539, allocations: 103.2 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1539, allocations: 0 / 0.8283 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002877/0.1542, allocations: 71.86 kB / 0.8284 GB, free: 11.98 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.0002879/0.1545, allocations: 168.6 kB / 0.8286 GB, free: 11.81 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001116/0.1546, allocations: 59.98 kB / 0.8286 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1546, allocations: 0 / 0.8286 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.1546, allocations: 31.98 kB / 0.8286 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1548, allocations: 0 / 0.8286 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.1551, allocations: 206.1 kB / 0.8288 GB, free: 11.49 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1554, allocations: 0.6963 MB / 0.8295 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.489e-05/0.1554, allocations: 8.125 kB / 0.8295 GB, free: 10.76 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1555, allocations: 15.41 kB / 0.8295 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.9e-07/0.1555, allocations: 0 / 0.8295 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004269/0.1597, allocations: 1.527 MB / 0.831 GB, free: 9.27 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.825569549575448]
Failed to read output from testmodel.py, exit status != 0:
0.16670083533972502 0.181417571 0.027169298
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3c651a17b0>