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.001789/0.001789, allocations: 116.8 kB / 17.17 MB, free: 6 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.002151/0.002151, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002384/0.002384, allocations: 274.8 kB / 309.8 MB, free: 3.484 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.04/1.04, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.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.00276/0.00276, allocations: 103.8 kB / 0.7347 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5133, allocations: 95.33 MB / 0.8278 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002257/0.5156, allocations: 1.267 MB / 0.8291 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.5168, allocations: 0.9427 MB / 0.83 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.5169, allocations: 0 / 0.83 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.5169, allocations: 3.422 kB / 0.83 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.517, allocations: 25.2 kB / 0.83 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.5177, allocations: 249.2 kB / 0.8302 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.5178, allocations: 27.94 kB / 0.8303 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.5178, allocations: 7.328 kB / 0.8303 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.5179, allocations: 19.22 kB / 0.8303 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.518, allocations: 49.06 kB / 0.8303 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.518, allocations: 0 / 0.8303 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.5184, allocations: 292 kB / 0.8306 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.5185, allocations: 20.03 kB / 0.8306 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.5185, allocations: 21.06 kB / 0.8307 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.5188, allocations: 244.1 kB / 0.8309 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5188, allocations: 0 / 0.8309 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5188, allocations: 0 / 0.8309 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5188, allocations: 2.625 kB / 0.8309 GB, free: 1.113 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.0003311/0.5191, allocations: 384.4 kB / 0.8313 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5192, allocations: 7.875 kB / 0.8313 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.195e-05/0.5192, allocations: 1.406 kB / 0.8313 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.053e-05/0.5192, allocations: 39.3 kB / 0.8313 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.5192, allocations: 11.52 kB / 0.8313 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.5193, allocations: 180.1 kB / 0.8315 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.5193, allocations: 384 / 0.8315 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5193, allocations: 3.703 kB / 0.8315 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5194, allocations: 55.09 kB / 0.8315 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5194, allocations: 0 / 0.8315 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.5195, allocations: 0.7969 kB / 0.8315 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.5195, allocations: 15.3 kB / 0.8316 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.5195, allocations: 28.73 kB / 0.8316 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.5197, allocations: 183.5 kB / 0.8318 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.5197, allocations: 46.92 kB / 0.8318 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.5198, allocations: 31.05 kB / 0.8318 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.5198, allocations: 3.938 kB / 0.8318 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.5198, allocations: 39.17 kB / 0.8319 GB, free: 124 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.5198, allocations: 0 / 0.8319 GB, free: 124 kB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0001795/0.52, allocations: 133.7 kB / 0.832 GB, free: 72 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.52, allocations: 56.23 kB / 0.8321 GB, free: 4 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.5201, allocations: 131.9 kB / 0.8322 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5201, allocations: 25.7 kB / 0.8322 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.5202, allocations: 88.47 kB / 0.8323 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.5202, allocations: 31.88 kB / 0.8323 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.5203, allocations: 19.02 kB / 0.8323 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5204, allocations: 320.9 kB / 0.8326 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.5204, allocations: 26.61 kB / 0.8327 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.5205, allocations: 32.8 kB / 0.8327 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.5205, allocations: 75.09 kB / 0.8328 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5205, allocations: 0 / 0.8328 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001155/0.5207, allocations: 107 kB / 0.8329 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5207, allocations: 4.875 kB / 0.8329 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5207, allocations: 0.6094 kB / 0.8329 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5207, allocations: 0 / 0.8329 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.5207, allocations: 3.938 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5207, allocations: 0.5156 kB / 0.8329 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.5207, allocations: 9.109 kB / 0.8329 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5207, allocations: 7.469 kB / 0.8329 GB, free: 15.32 MB / 0.5919 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 9.605e-05/0.5208, allocations: 118.7 kB / 0.833 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.5208, allocations: 10.48 kB / 0.833 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.5209, allocations: 9.812 kB / 0.833 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.5209, allocations: 11.36 kB / 0.833 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5209, allocations: 0 / 0.833 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5209, allocations: 2.844 kB / 0.8331 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.521, allocations: 169.5 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.521, allocations: 3.938 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.521, allocations: 4 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.521, allocations: 0.5625 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.521, allocations: 0 / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.521, allocations: 0 / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5211, allocations: 2.188 kB / 0.8332 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.5212, allocations: 131.3 kB / 0.8333 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.5212, allocations: 88.5 kB / 0.8334 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.5212, allocations: 0 / 0.8334 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.5213, allocations: 7.422 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.5213, allocations: 0.75 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.5213, allocations: 6.938 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.5213, allocations: 100 kB / 0.8335 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5213, allocations: 0 / 0.8335 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003001/0.5216, allocations: 71.92 kB / 0.8336 GB, free: 14.71 MB / 0.5919 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.0006316/0.5223, allocations: 0.7449 MB / 0.8343 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5224, allocations: 57.86 kB / 0.8344 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5224, allocations: 0 / 0.8344 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.5224, allocations: 36.75 kB / 0.8344 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.5225, allocations: 3.828 kB / 0.8344 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.5231, allocations: 254.5 kB / 0.8347 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.5234, allocations: 0.6971 MB / 0.8354 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.5234, allocations: 3.625 kB / 0.8354 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.5235, allocations: 19.78 kB / 0.8354 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5235, allocations: 4 kB / 0.8354 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.5424, allocations: 2.898 MB / 0.8382 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.399, allocations: 10.52 kB / 0.8382 GB, free: 12.73 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.369310458947439] Failed to read output from testmodel.py, exit status != 0: 8.523174120986369 8.547017356 8.023880334 Calling exit ...