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.0008894/0.0008894, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007593/0.0007593, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8345/0.8345, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.00137/0.00137, allocations: 233.1 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6482/0.6482, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.789e-05, allocations: 8.609 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002137/0.002155, allocations: 1.286 MB / 0.6476 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2122/0.2143, allocations: 0.8481 MB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2143, allocations: 2.219 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2144, allocations: 0.5625 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2145, allocations: 28.34 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.2151, allocations: 266.6 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.2152, allocations: 28.88 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.2152, allocations: 1.438 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.2152, allocations: 23.19 kB / 0.6488 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2154, allocations: 55.78 kB / 0.6488 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2154, allocations: 0 / 0.6488 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2157, allocations: 296.3 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2157, allocations: 21.05 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.2158, allocations: 7.797 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.216, allocations: 282.9 kB / 0.6494 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.216, allocations: 1.938 kB / 0.6494 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.216, allocations: 0 / 0.6494 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.216, allocations: 0.7812 kB / 0.6494 GB, free: 55.83 MB / 0.5573 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.0002399/0.2163, allocations: 318 kB / 0.6497 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2163, allocations: 11.39 kB / 0.6497 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.928e-05/0.2163, allocations: 39.03 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.2164, allocations: 6.797 kB / 0.6498 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.869e-05/0.2164, allocations: 115.7 kB / 0.6499 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.2164, allocations: 5.625 kB / 0.6499 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-06/0.2164, allocations: 1.938 kB / 0.6499 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.2165, allocations: 57.62 kB / 0.6499 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.2165, allocations: 192 / 0.6499 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.2165, allocations: 9.797 kB / 0.6499 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.2165, allocations: 12.66 kB / 0.6499 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.2166, allocations: 31.22 kB / 0.65 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.2167, allocations: 146.5 kB / 0.6501 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.2167, allocations: 50.45 kB / 0.6502 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.2168, allocations: 27.28 kB / 0.6502 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.2168, allocations: 1.25 kB / 0.6502 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.2168, allocations: 36.62 kB / 0.6502 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 6.72e-07/0.2168, allocations: 1.656 kB / 0.6502 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0001466/0.2169, allocations: 137 kB / 0.6504 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.2169, allocations: 54.14 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.217, allocations: 129.5 kB / 0.6505 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-06/0.217, allocations: 25.7 kB / 0.6506 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.217, allocations: 89.64 kB / 0.6506 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.217, allocations: 33.03 kB / 0.6507 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.2171, allocations: 21 kB / 0.6507 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.533e-05/0.2171, allocations: 322.5 kB / 0.651 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.2171, allocations: 26.45 kB / 0.651 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.2171, allocations: 29 kB / 0.6511 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.2172, allocations: 68.69 kB / 0.6511 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2172, allocations: 0 / 0.6511 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.224e-05/0.2172, allocations: 97.5 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.2172, allocations: 5.938 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2172, allocations: 3.031 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2173, allocations: 3.938 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.2173, allocations: 1.266 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2173, allocations: 2.031 kB / 0.6512 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.2173, allocations: 7.781 kB / 0.6512 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2173, allocations: 4.531 kB / 0.6512 GB, free: 54.37 MB / 0.5573 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 3.773e-05/0.2173, allocations: 128.1 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.2173, allocations: 9.047 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.069e-05/0.2173, allocations: 8.156 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2173, allocations: 18.59 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2173, allocations: 1.625 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2174, allocations: 0 / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.069e-05/0.2174, allocations: 148.6 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.2174, allocations: 0 / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.2174, allocations: 0 / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.2174, allocations: 1.375 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.2174, allocations: 1.781 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2174, allocations: 4.453 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.2174, allocations: 0.5938 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.601e-05/0.2175, allocations: 128.7 kB / 0.6517 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.2175, allocations: 7.609 kB / 0.6517 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.2175, allocations: 1.266 kB / 0.6517 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/0.2175, allocations: 4.641 kB / 0.6517 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.2175, allocations: 4.031 kB / 0.6517 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2175, allocations: 2.125 kB / 0.6517 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.2175, allocations: 103.7 kB / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2175, allocations: 0.5625 kB / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001878/0.2177, allocations: 71.31 kB / 0.6519 GB, free: 53.93 MB / 0.5573 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.0003083/0.218, allocations: 0.7451 MB / 0.6526 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.2181, allocations: 62.56 kB / 0.6526 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2181, allocations: 1.531 kB / 0.6526 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.2181, allocations: 28.27 kB / 0.6527 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.2182, allocations: 8 kB / 0.6527 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.2186, allocations: 260.2 kB / 0.6529 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.2186, allocations: 78.47 kB / 0.653 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.2186, allocations: 12.5 kB / 0.653 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.2187, allocations: 23.23 kB / 0.653 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2187, allocations: 2.5 kB / 0.653 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.2331, allocations: 3.431 MB / 0.6564 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.264/6.497, allocations: 8.344 kB / 0.6564 GB, free: 52.22 MB / 0.5573 GB " [Timeout remaining time 653] (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: 8.909635543823242] Failed to read output from testmodel.py, exit status != 0: 6.576458101160824 6.583644506 6.36597349 Calling exit ...