Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001226/0.001226, allocations: 97.97 kB / 16.26 MB, free: 5.934 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.001244/0.001244, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7546/0.7546, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.89 kB / 0.4911 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 77.92 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002196/0.3405, allocations: 1.239 MB / 0.5684 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3417, allocations: 0.8709 MB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.3418, allocations: 1.625 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.3418, allocations: 2.672 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.3419, allocations: 25.95 kB / 0.5693 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.3426, allocations: 249.2 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.3427, allocations: 27.83 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.3427, allocations: 2.734 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.3428, allocations: 24.33 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3429, allocations: 53.94 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.617e-06/0.3429, allocations: 2.688 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.3433, allocations: 276.7 kB / 0.5699 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.3434, allocations: 14.19 kB / 0.5699 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3434, allocations: 20.28 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.3438, allocations: 242.7 kB / 0.5702 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3438, allocations: 0 / 0.5702 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3438, allocations: 0 / 0.5702 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3438, allocations: 2.562 kB / 0.5702 GB, free: 31.02 MB / 446.1 MB 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.0002849/0.3441, allocations: 386.3 kB / 0.5706 GB, free: 30.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3441, allocations: 9.75 kB / 0.5706 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.3441, allocations: 7.922 kB / 0.5706 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/0.3442, allocations: 176.9 kB / 0.5708 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.3442, allocations: 0.9375 kB / 0.5708 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.3442, allocations: 3.094 kB / 0.5708 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3443, allocations: 68.3 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.3444, allocations: 0 / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3444, allocations: 2.125 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.3444, allocations: 11.98 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.3444, allocations: 23.77 kB / 0.5709 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3446, allocations: 177.5 kB / 0.571 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.3447, allocations: 53.41 kB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.3447, allocations: 40.27 kB / 0.5711 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.3447, allocations: 192 / 0.5711 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3447, allocations: 41.05 kB / 0.5712 GB, free: 30.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3447, allocations: 3 kB / 0.5712 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001827/0.3449, allocations: 129.1 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.345, allocations: 56.05 kB / 0.5713 GB, free: 29.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.345, allocations: 132.9 kB / 0.5715 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.3451, allocations: 27.05 kB / 0.5715 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.3451, allocations: 88.31 kB / 0.5716 GB, free: 29.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3451, allocations: 31.22 kB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.3451, allocations: 20.73 kB / 0.5716 GB, free: 29.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.3452, allocations: 319.6 kB / 0.5719 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.3452, allocations: 29.41 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.3453, allocations: 24.25 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.3453, allocations: 70.91 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3454, allocations: 1.156 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.3455, allocations: 102.5 kB / 0.5721 GB, free: 29.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3455, allocations: 11.86 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3455, allocations: 0 / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3455, allocations: 1.094 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3455, allocations: 0 / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3455, allocations: 2.766 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.3455, allocations: 9.094 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3456, allocations: 2.562 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB 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 5.399e-05/0.3456, allocations: 121 kB / 0.5723 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.3456, allocations: 10.25 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.3456, allocations: 14.05 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.3457, allocations: 12.28 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3457, allocations: 0.5 kB / 0.5723 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3457, allocations: 5.844 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.3458, allocations: 172.7 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3458, allocations: 3.938 kB / 0.5725 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.3458, allocations: 6.375 kB / 0.5725 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3458, allocations: 4.453 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.3458, allocations: 5.484 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3458, allocations: 4.594 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3458, allocations: 2.156 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.3459, allocations: 117.2 kB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.346, allocations: 88.3 kB / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.346, allocations: 1.75 kB / 0.5727 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.346, allocations: 5.156 kB / 0.5727 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.346, allocations: 1.891 kB / 0.5727 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.346, allocations: 2.906 kB / 0.5727 GB, free: 28.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.3461, allocations: 105.7 kB / 0.5728 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 0.5728 GB, free: 28.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3464, allocations: 74.47 kB / 0.5729 GB, free: 28.69 MB / 446.1 MB 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.0002656/0.3467, allocations: 165.9 kB / 0.5731 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3468, allocations: 62.67 kB / 0.5731 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3468, allocations: 0.5938 kB / 0.5731 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.3468, allocations: 35.72 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.347, allocations: 13.56 kB / 0.5732 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.3473, allocations: 198.5 kB / 0.5734 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3474, allocations: 0.6951 MB / 0.574 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.3475, allocations: 9.062 kB / 0.574 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.3475, allocations: 12.14 kB / 0.5741 GB, free: 27.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3475, allocations: 0 / 0.5741 GB, free: 27.73 MB / 446.1 MB Notification: Performance of Templates: time 0.00441/0.3519, allocations: 1.471 MB / 0.5755 GB, free: 27.68 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)