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.001276/0.001276, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.0013/0.0013, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.329/1.329, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] 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.002545/0.002545, allocations: 289.7 kB / 303 MB, free: 9.5 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.127/1.127, allocations: 180.9 MB / 0.5261 GB, free: 14.75 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 101.9 kB / 0.7248 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.147, allocations: 94.16 MB / 0.8168 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002323/0.1494, allocations: 1.248 MB / 0.818 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1508, allocations: 0.8909 MB / 0.8189 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.1508, allocations: 0 / 0.8189 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.1509, allocations: 4 kB / 0.8189 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.151, allocations: 31.89 kB / 0.8189 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.1517, allocations: 251.4 kB / 0.8191 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.1518, allocations: 23.97 kB / 0.8191 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1518, allocations: 0 / 0.8191 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.1519, allocations: 19.97 kB / 0.8192 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.152, allocations: 59.92 kB / 0.8192 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.152, allocations: 0 / 0.8192 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.1524, allocations: 291.5 kB / 0.8195 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1525, allocations: 19.92 kB / 0.8195 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1525, allocations: 15.88 kB / 0.8195 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1528, allocations: 243.6 kB / 0.8198 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1528, allocations: 0 / 0.8198 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1528, allocations: 0 / 0.8198 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1528, allocations: 4 kB / 0.8198 GB, free: 2.266 MB / 0.5606 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.0004267/0.1533, allocations: 394.8 kB / 0.8202 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1533, allocations: 12.03 kB / 0.8202 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.1533, allocations: 38.69 kB / 0.8202 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1534, allocations: 8.891 kB / 0.8202 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1535, allocations: 176.3 kB / 0.8204 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1535, allocations: 4.375 kB / 0.8204 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.1535, allocations: 384 / 0.8204 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1536, allocations: 65.75 kB / 0.8204 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1537, allocations: 3.984 kB / 0.8204 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1537, allocations: 4 kB / 0.8205 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.1537, allocations: 8 kB / 0.8205 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.1537, allocations: 23.98 kB / 0.8205 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.1539, allocations: 173.7 kB / 0.8206 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.154, allocations: 38.58 kB / 0.8207 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.154, allocations: 36.88 kB / 0.8207 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.154, allocations: 4.188 kB / 0.8207 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1541, allocations: 38.44 kB / 0.8208 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1541, allocations: 0 / 0.8208 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0002091/0.1543, allocations: 129.6 kB / 0.8209 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1543, allocations: 59.34 kB / 0.8209 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1544, allocations: 129.8 kB / 0.8211 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1545, allocations: 25.7 kB / 0.8211 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.1545, allocations: 84.14 kB / 0.8212 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1545, allocations: 39.72 kB / 0.8212 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1546, allocations: 17.72 kB / 0.8212 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1547, allocations: 318.8 kB / 0.8215 GB, free: 252 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1547, allocations: 27.98 kB / 0.8216 GB, free: 224 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.1548, allocations: 32 kB / 0.8216 GB, free: 192 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.1549, allocations: 77.12 kB / 0.8217 GB, free: 112 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1549, allocations: 0 / 0.8217 GB, free: 112 kB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.155, allocations: 105.5 kB / 0.8218 GB, free: 0 / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.155, allocations: 4.047 kB / 0.8218 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.155, allocations: 12 kB / 0.8218 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.155, allocations: 0 / 0.8218 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.155, allocations: 0 / 0.8218 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.155, allocations: 0 / 0.8218 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.155, allocations: 7.891 kB / 0.8218 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.155, allocations: 4 kB / 0.8218 GB, free: 15.97 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.144e-05/0.1551, allocations: 117.8 kB / 0.8219 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.1551, allocations: 7.938 kB / 0.8219 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.1552, allocations: 8.375 kB / 0.8219 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.1552, allocations: 15.98 kB / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1552, allocations: 0 / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1552, allocations: 0 / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1553, allocations: 173.6 kB / 0.8221 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1553, allocations: 3.938 kB / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.1553, allocations: 3.938 kB / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1553, allocations: 4 kB / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1553, allocations: 0 / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1553, allocations: 0 / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1553, allocations: 0 / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.1555, allocations: 129.1 kB / 0.8222 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1555, allocations: 89 kB / 0.8223 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.1555, allocations: 3.938 kB / 0.8223 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.1555, allocations: 11.91 kB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1556, allocations: 4 kB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1556, allocations: 0 / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.1556, allocations: 99.7 kB / 0.8224 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1556, allocations: 0 / 0.8224 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002957/0.1559, allocations: 83.83 kB / 0.8225 GB, free: 15.14 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.0006136/0.1565, allocations: 0.7293 MB / 0.8232 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1567, allocations: 59.97 kB / 0.8233 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1567, allocations: 0 / 0.8233 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-05/0.1567, allocations: 36.08 kB / 0.8233 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1568, allocations: 4.328 kB / 0.8233 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.1573, allocations: 251.6 kB / 0.8236 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1576, allocations: 0.7001 MB / 0.8242 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.1577, allocations: 15.14 kB / 0.8243 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1577, allocations: 22.02 kB / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1577, allocations: 0 / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1834, allocations: 2.846 MB / 0.8271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.986, allocations: 10.3 kB / 0.8271 GB, free: 10.59 MB / 0.5762 GB " [Timeout remaining time 652] (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: 11.797935302834958] Failed to read output from testmodel.py, exit status != 0: 8.0493518342264 8.062852819 7.907284613 Calling exit ...