Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001517/0.001517, allocations: 188.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.19 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002424/0.2608, allocations: 1.305 MB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2622, allocations: 0.9378 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.2623, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.2623, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2624, allocations: 31.95 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.2631, allocations: 219.6 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.2632, allocations: 31.95 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.2633, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.2633, allocations: 23.91 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2634, allocations: 47.95 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.2634, allocations: 0 / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.2638, allocations: 279.5 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.2639, allocations: 23.98 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.2639, allocations: 15.81 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2642, allocations: 247.7 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2642, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2642, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2642, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 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.0003709/0.2646, allocations: 379.2 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2647, allocations: 12.03 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.2647, allocations: 4.844 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2648, allocations: 176.3 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2648, allocations: 384 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.2648, allocations: 384 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.265, allocations: 65.98 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.265, allocations: 3.938 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.265, allocations: 4 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.265, allocations: 15.98 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.2651, allocations: 24 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.2653, allocations: 181.4 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.2653, allocations: 50.56 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2654, allocations: 40.88 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2654, allocations: 4 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2654, allocations: 38.62 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.2654, allocations: 0 / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0001931/0.2656, allocations: 129.6 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2656, allocations: 55.39 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.2658, allocations: 137.8 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2658, allocations: 25.7 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.2658, allocations: 92.12 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.2659, allocations: 31.47 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2659, allocations: 17.7 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.266, allocations: 318.8 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.266, allocations: 27.98 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.2661, allocations: 27.98 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.2661, allocations: 72.86 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2661, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.2663, allocations: 101.5 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2663, allocations: 11.94 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2663, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2663, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2663, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2663, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.2663, allocations: 384 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2664, allocations: 4 kB / 0.7879 GB, free: 8.434 MB / 0.6075 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.087e-05/0.2664, allocations: 121.9 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.2665, allocations: 11.84 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.2665, allocations: 16.3 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.2665, allocations: 8 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2665, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2665, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.2667, allocations: 181.6 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2667, allocations: 3.938 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2667, allocations: 0 / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2667, allocations: 3.938 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2667, allocations: 7.938 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2667, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2667, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2668, allocations: 129 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.2669, allocations: 84.95 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2669, allocations: 4 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.2669, allocations: 4 kB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.2669, allocations: 4.031 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2669, allocations: 7.938 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.267, allocations: 99.27 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.267, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002849/0.2673, allocations: 67.98 kB / 0.7887 GB, free: 7.598 MB / 0.6075 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.0003039/0.2676, allocations: 171.1 kB / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.2677, allocations: 71.97 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2677, allocations: 0 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.2678, allocations: 40.05 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2679, allocations: 3.281 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.2683, allocations: 218 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2686, allocations: 0.6963 MB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.2686, allocations: 7.188 kB / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.2686, allocations: 11.44 kB / 0.7898 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2686, allocations: 4 kB / 0.7898 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.003896/0.2725, allocations: 1.465 MB / 0.7913 GB, free: 4.91 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)