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.001105/0.001105, allocations: 107.2 kB / 16.27 MB, free: 5.93 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.0012/0.0012, allocations: 192.1 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.4912 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00206/0.3333, allocations: 1.229 MB / 0.5685 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3345, allocations: 0.8758 MB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.3345, allocations: 0.5625 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3345, allocations: 2.766 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.3347, allocations: 30.09 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.3354, allocations: 252.6 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.3355, allocations: 31.97 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.3355, allocations: 1.625 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.3355, allocations: 19.84 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3357, allocations: 51.56 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.485e-06/0.3357, allocations: 0 / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.3361, allocations: 273 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.3361, allocations: 22.83 kB / 0.57 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3362, allocations: 16.52 kB / 0.5701 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.3365, allocations: 242.7 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3365, allocations: 1.312 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3365, allocations: 0.6562 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3365, allocations: 0.6094 kB / 0.5703 GB, free: 31.01 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.0002797/0.3368, allocations: 385.4 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3368, allocations: 10.73 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.3369, allocations: 37.45 kB / 0.5707 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.3369, allocations: 8.156 kB / 0.5707 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.337, allocations: 176.9 kB / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.337, allocations: 5.875 kB / 0.5709 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.337, allocations: 384 / 0.5709 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.3371, allocations: 66.36 kB / 0.5709 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.3371, allocations: 0 / 0.5709 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.3371, allocations: 2.219 kB / 0.5709 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.3372, allocations: 12.62 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.3372, allocations: 23.7 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.3374, allocations: 176.5 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.3374, allocations: 53.61 kB / 0.5712 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3375, allocations: 39.06 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.3375, allocations: 6.422 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.3375, allocations: 37.03 kB / 0.5713 GB, free: 30.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.3375, allocations: 0 / 0.5713 GB, free: 30.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001803/0.3377, allocations: 129.8 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3377, allocations: 53.14 kB / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.3378, allocations: 133.2 kB / 0.5716 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.3378, allocations: 26.98 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.3379, allocations: 91.91 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3379, allocations: 35.89 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.3379, allocations: 20.44 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.338, allocations: 319.9 kB / 0.5721 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.338, allocations: 23.89 kB / 0.5721 GB, free: 29.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.338, allocations: 31.89 kB / 0.5721 GB, free: 29.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.3381, allocations: 76.06 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3381, allocations: 0 / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.307e-05/0.3382, allocations: 100.8 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3382, allocations: 4.781 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.3382, allocations: 0 / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3383, allocations: 2.281 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.3383, allocations: 4 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3383, allocations: 5.109 kB / 0.5723 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.3383, allocations: 5.969 kB / 0.5723 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.3383, allocations: 2.906 kB / 0.5723 GB, free: 29.24 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.488e-05/0.3384, allocations: 118.8 kB / 0.5724 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.3384, allocations: 10.84 kB / 0.5724 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.3384, allocations: 13.14 kB / 0.5724 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.3384, allocations: 13.23 kB / 0.5724 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3384, allocations: 0 / 0.5724 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3384, allocations: 2.797 kB / 0.5724 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.48e-05/0.3385, allocations: 172.2 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3385, allocations: 3.938 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.3386, allocations: 6.453 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3386, allocations: 1.25 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3386, allocations: 0.9688 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3386, allocations: 0.75 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3386, allocations: 2.25 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3387, allocations: 125.2 kB / 0.5727 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3387, allocations: 88.64 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3387, allocations: 0.75 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.3387, allocations: 1.312 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3388, allocations: 2.609 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3388, allocations: 3.25 kB / 0.5728 GB, free: 28.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.3388, allocations: 101.3 kB / 0.5729 GB, free: 28.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3388, allocations: 0 / 0.5729 GB, free: 28.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.3392, allocations: 76.92 kB / 0.573 GB, free: 28.63 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.0004328/0.3396, allocations: 0.7318 MB / 0.5737 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3397, allocations: 69.28 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3397, allocations: 1.312 kB / 0.5738 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.3398, allocations: 40.22 kB / 0.5738 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3399, allocations: 2.016 kB / 0.5738 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.3404, allocations: 257 kB / 0.5741 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3405, allocations: 0.695 MB / 0.5748 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.3405, allocations: 10.12 kB / 0.5748 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3406, allocations: 23.08 kB / 0.5748 GB, free: 27.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3406, allocations: 0 / 0.5748 GB, free: 27.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.3596, allocations: 2.803 MB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.42, allocations: 24.09 kB / 0.5775 GB, free: 26.72 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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)