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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001069, allocations: 103.1 kB / 15.98 MB, free: 6.332 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.001166/0.001166, allocations: 197.5 kB / 16.91 MB, free: 6.18 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.26/1.26, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6763/0.6763, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 76.16 MB / 0.5561 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001993/0.3015, allocations: 1.303 MB / 0.5573 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3025, allocations: 0.8799 MB / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.3026, allocations: 0 / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.3026, allocations: 3.812 kB / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.3027, allocations: 26.05 kB / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.3033, allocations: 224.6 kB / 0.5584 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.3034, allocations: 27.64 kB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.3034, allocations: 6.047 kB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.3035, allocations: 22.73 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3036, allocations: 50.59 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.3036, allocations: 5.234 kB / 0.5585 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.3039, allocations: 274.5 kB / 0.5588 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.304, allocations: 22.06 kB / 0.5588 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.304, allocations: 13.12 kB / 0.5588 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3043, allocations: 245.2 kB / 0.5591 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3043, allocations: 0.5938 kB / 0.5591 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3043, allocations: 1.875 kB / 0.5591 GB, free: 33.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3043, allocations: 0 / 0.5591 GB, free: 33.98 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.0002628/0.3045, allocations: 385.2 kB / 0.5594 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.3046, allocations: 9.906 kB / 0.5594 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.3046, allocations: 37.09 kB / 0.5595 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.3046, allocations: 6.25 kB / 0.5595 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.992e-05/0.3047, allocations: 185.1 kB / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3047, allocations: 384 / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.3047, allocations: 1.562 kB / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3049, allocations: 68.8 kB / 0.5597 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3049, allocations: 1.359 kB / 0.5597 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.3049, allocations: 0 / 0.5597 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3049, allocations: 11.31 kB / 0.5597 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.3049, allocations: 25.47 kB / 0.5598 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.3051, allocations: 172.7 kB / 0.5599 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.3051, allocations: 52.84 kB / 0.56 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.3052, allocations: 40.97 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.3052, allocations: 1.344 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.3052, allocations: 35.84 kB / 0.5601 GB, free: 33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.3052, allocations: 1.406 kB / 0.5601 GB, free: 33 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001629/0.3054, allocations: 131.8 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3054, allocations: 52.66 kB / 0.5602 GB, free: 32.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.3055, allocations: 128 kB / 0.5604 GB, free: 32.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.3055, allocations: 28.33 kB / 0.5604 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.3055, allocations: 91.2 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3055, allocations: 29.94 kB / 0.5605 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.3056, allocations: 21.98 kB / 0.5605 GB, free: 32.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.3056, allocations: 319.1 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.3057, allocations: 24.55 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3057, allocations: 29.44 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.3057, allocations: 76.72 kB / 0.561 GB, free: 32.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3058, allocations: 3.938 kB / 0.561 GB, free: 32.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.854e-05/0.3059, allocations: 110.9 kB / 0.5611 GB, free: 32.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3059, allocations: 5.188 kB / 0.5611 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3059, allocations: 4 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3059, allocations: 3.234 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.3059, allocations: 1.312 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3059, allocations: 0 / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.3059, allocations: 5.906 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3059, allocations: 2.656 kB / 0.5611 GB, free: 32.21 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 4.945e-05/0.306, allocations: 124.8 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.306, allocations: 10.44 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.306, allocations: 12.22 kB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.306, allocations: 14.59 kB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3061, allocations: 0.5625 kB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.3061, allocations: 0.5625 kB / 0.5612 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.846e-05/0.3062, allocations: 171.5 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3062, allocations: 4.875 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.3062, allocations: 5.25 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3062, allocations: 0 / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3062, allocations: 1.188 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3062, allocations: 0 / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3062, allocations: 1.344 kB / 0.5614 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.3063, allocations: 123.2 kB / 0.5615 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3063, allocations: 90.2 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.3063, allocations: 1.469 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.3064, allocations: 1.031 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.3064, allocations: 2.516 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3064, allocations: 2.312 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.103e-05/0.3064, allocations: 104.9 kB / 0.5617 GB, free: 31.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3064, allocations: 0 / 0.5617 GB, free: 31.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3067, allocations: 75.61 kB / 0.5618 GB, free: 31.61 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.0003941/0.3071, allocations: 0.7319 MB / 0.5625 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.3072, allocations: 66.95 kB / 0.5626 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3072, allocations: 1.406 kB / 0.5626 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.3073, allocations: 40.42 kB / 0.5626 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3074, allocations: 10.12 kB / 0.5626 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.3078, allocations: 274.5 kB / 0.5629 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3079, allocations: 0.6954 MB / 0.5636 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.308, allocations: 12.34 kB / 0.5636 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.308, allocations: 21.56 kB / 0.5636 GB, free: 30.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.308, allocations: 0 / 0.5636 GB, free: 30.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.3329, allocations: 2.719 MB / 0.5663 GB, free: 29.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.3331, allocations: 281.2 kB / 0.5665 GB, free: 29.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.055, allocations: 3.25 kB / 0.5665 GB, free: 29.45 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)