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.001016/0.001016, allocations: 111.5 kB / 17.04 MB, free: 5.812 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.0009622/0.0009623, allocations: 195 kB / 17.98 MB, free: 5.031 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.212/1.212, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6553/0.6553, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.89 kB / 494.9 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3121, allocations: 76.13 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002194/0.3143, allocations: 1.24 MB / 0.5588 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3159, allocations: 0.8737 MB / 0.5597 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.3159, allocations: 2.906 kB / 0.5597 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.316, allocations: 4.562 kB / 0.5597 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3161, allocations: 31.03 kB / 0.5597 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.3171, allocations: 248.9 kB / 0.5599 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.3171, allocations: 27.44 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.3172, allocations: 6.688 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.3173, allocations: 16.38 kB / 0.56 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3174, allocations: 48.66 kB / 0.56 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3174, allocations: 0 / 0.56 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.318, allocations: 279.4 kB / 0.5603 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.3181, allocations: 22.08 kB / 0.5603 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.3181, allocations: 14.73 kB / 0.5603 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.3185, allocations: 241.5 kB / 0.5606 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3185, allocations: 2.75 kB / 0.5606 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3186, allocations: 0 / 0.5606 GB, free: 35.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3186, allocations: 0 / 0.5606 GB, free: 35.04 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.0003642/0.3189, allocations: 385.8 kB / 0.5609 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.319, allocations: 9.156 kB / 0.5609 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.319, allocations: 8.312 kB / 0.561 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.3191, allocations: 178.6 kB / 0.5611 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3192, allocations: 4.906 kB / 0.5611 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3192, allocations: 1.719 kB / 0.5611 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3193, allocations: 65.8 kB / 0.5612 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3193, allocations: 0 / 0.5612 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3193, allocations: 0 / 0.5612 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/0.3194, allocations: 13.03 kB / 0.5612 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.3195, allocations: 29.08 kB / 0.5612 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.3197, allocations: 171.9 kB / 0.5614 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.3197, allocations: 51.09 kB / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.3198, allocations: 37.47 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.3198, allocations: 7.219 kB / 0.5615 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3198, allocations: 35.02 kB / 0.5615 GB, free: 34.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3198, allocations: 0.9688 kB / 0.5615 GB, free: 34.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002238/0.3201, allocations: 133.3 kB / 0.5617 GB, free: 34.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3201, allocations: 54.58 kB / 0.5617 GB, free: 33.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.3202, allocations: 130.9 kB / 0.5618 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.3202, allocations: 25.7 kB / 0.5619 GB, free: 33.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3203, allocations: 88.02 kB / 0.5619 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.3203, allocations: 33.84 kB / 0.562 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3204, allocations: 21.12 kB / 0.562 GB, free: 33.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.3204, allocations: 321 kB / 0.5623 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.3205, allocations: 23.72 kB / 0.5623 GB, free: 33.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.3205, allocations: 29.56 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.3206, allocations: 76.28 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3206, allocations: 5.344 kB / 0.5624 GB, free: 33.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001211/0.3207, allocations: 101.1 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3208, allocations: 11.62 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3208, allocations: 3.891 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3208, allocations: 0 / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.3208, allocations: 6.688 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3208, allocations: 0.5938 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.3208, allocations: 5.844 kB / 0.5625 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3209, allocations: 2.203 kB / 0.5626 GB, free: 33.31 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 6.699e-05/0.3209, allocations: 120.5 kB / 0.5627 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.3209, allocations: 11.56 kB / 0.5627 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.321, allocations: 8.281 kB / 0.5627 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.321, allocations: 13.14 kB / 0.5627 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.321, allocations: 0 / 0.5627 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.321, allocations: 6.625 kB / 0.5627 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3211, allocations: 173.2 kB / 0.5629 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3212, allocations: 0 / 0.5629 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.3212, allocations: 1 kB / 0.5629 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3212, allocations: 3.938 kB / 0.5629 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3212, allocations: 3.578 kB / 0.5629 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3212, allocations: 1.5 kB / 0.5629 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3212, allocations: 0 / 0.5629 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3213, allocations: 124.4 kB / 0.563 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.3214, allocations: 89.31 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3214, allocations: 0.6094 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.3214, allocations: 1.188 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.3214, allocations: 6.047 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3215, allocations: 2.281 kB / 0.5631 GB, free: 32.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.3215, allocations: 104.2 kB / 0.5632 GB, free: 32.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3215, allocations: 0 / 0.5632 GB, free: 32.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.322, allocations: 81.22 kB / 0.5633 GB, free: 32.7 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.0003354/0.3223, allocations: 163.1 kB / 0.5634 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.3225, allocations: 66.69 kB / 0.5635 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3225, allocations: 4.625 kB / 0.5635 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.3226, allocations: 39.52 kB / 0.5635 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.3228, allocations: 2.875 kB / 0.5635 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.3231, allocations: 193.7 kB / 0.5637 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3233, allocations: 0.6947 MB / 0.5644 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.3233, allocations: 11.09 kB / 0.5644 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3234, allocations: 10.53 kB / 0.5644 GB, free: 31.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3234, allocations: 0 / 0.5644 GB, free: 31.75 MB / 446.1 MB Notification: Performance of Templates: time 0.005297/0.3287, allocations: 1.468 MB / 0.5659 GB, free: 31.7 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)