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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 192 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 285.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 95.84 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.418, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002297/0.4203, allocations: 1.249 MB / 0.7683 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.4218, allocations: 0.8792 MB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.4218, allocations: 0 / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.4219, allocations: 0 / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.422, allocations: 27.95 kB / 0.7692 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.4227, allocations: 255.4 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.4228, allocations: 27.91 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.4229, allocations: 0 / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.4229, allocations: 19.97 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.423, allocations: 51.95 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.4231, allocations: 0 / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.4235, allocations: 283.5 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.4235, allocations: 19.92 kB / 0.7698 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.4236, allocations: 15.88 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4239, allocations: 245 kB / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4239, allocations: 0 / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4239, allocations: 0 / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4239, allocations: 0 / 0.7701 GB, free: 0.8164 MB / 0.5294 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.000469/0.4244, allocations: 393.3 kB / 0.7705 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4244, allocations: 12.03 kB / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.4245, allocations: 4.891 kB / 0.7705 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4246, allocations: 184.2 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4246, allocations: 384 / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.4246, allocations: 384 / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4247, allocations: 69.88 kB / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4247, allocations: 0 / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.4248, allocations: 0 / 0.7707 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.4248, allocations: 19.98 kB / 0.7707 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.4248, allocations: 24 kB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.4251, allocations: 173.7 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.4251, allocations: 42.56 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.4252, allocations: 32.88 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.4252, allocations: 0 / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4252, allocations: 42.62 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4252, allocations: 4 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002199/0.4254, allocations: 125.6 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4255, allocations: 55.34 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4256, allocations: 129.8 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4256, allocations: 25.7 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.4257, allocations: 92.12 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.4257, allocations: 31.7 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.4258, allocations: 21.69 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4259, allocations: 322.9 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.4259, allocations: 27.98 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.426, allocations: 27.98 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.426, allocations: 73.2 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.426, allocations: 0 / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.4262, allocations: 101.5 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4262, allocations: 10.28 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4262, allocations: 0 / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4262, allocations: 0 / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4262, allocations: 0 / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.4262, allocations: 4.062 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.4262, allocations: 11.88 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4262, allocations: 0 / 0.772 GB, free: 14.58 MB / 0.545 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.379e-05/0.4263, allocations: 125.8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4263, allocations: 7.891 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.4264, allocations: 8.375 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.4264, allocations: 15.98 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4264, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4264, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.4266, allocations: 177.6 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4266, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.4266, allocations: 3.938 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4266, allocations: 3.938 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.4266, allocations: 0 / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.4266, allocations: 0 / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4266, allocations: 4 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4267, allocations: 125 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.4268, allocations: 93.03 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.4268, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.4268, allocations: 3.984 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.4268, allocations: 3.938 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4268, allocations: 8 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.4269, allocations: 99.7 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4269, allocations: 0 / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003253/0.4272, allocations: 75.8 kB / 0.7728 GB, free: 13.74 MB / 0.545 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.0003351/0.4276, allocations: 175.8 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.4277, allocations: 63.91 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4277, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.4277, allocations: 27.98 kB / 0.773 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.4279, allocations: 16 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.4282, allocations: 194.1 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4286, allocations: 0.7002 MB / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.4286, allocations: 8.125 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.4286, allocations: 7.438 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4286, allocations: 0 / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Templates: time 0.00454/0.4332, allocations: 1.491 MB / 0.7754 GB, free: 11.05 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)