Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 286.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9428/0.9428, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 99.03 kB / 0.5954 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1525, allocations: 86.98 MB / 0.6803 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002307/0.1548, allocations: 1.232 MB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1562, allocations: 0.8819 MB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.1563, allocations: 0.6562 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.1563, allocations: 0.7188 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1565, allocations: 27.95 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.1573, allocations: 243 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.1573, allocations: 31.92 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.1574, allocations: 3.984 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.1574, allocations: 19.97 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1576, allocations: 51.94 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1576, allocations: 0 / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.158, allocations: 275.6 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1581, allocations: 19.92 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1581, allocations: 19.81 kB / 0.6831 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1584, allocations: 247.4 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1584, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1584, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1585, allocations: 4 kB / 0.6833 GB, free: 13.5 MB / 494.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.0003725/0.1588, allocations: 379.2 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1589, allocations: 8.031 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.1589, allocations: 38.75 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.159, allocations: 4.844 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1591, allocations: 188.1 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1591, allocations: 4.375 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1591, allocations: 384 / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1592, allocations: 61.75 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1592, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1593, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.1593, allocations: 12 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.1594, allocations: 27.98 kB / 0.684 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.1596, allocations: 173.7 kB / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.1596, allocations: 50.56 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1597, allocations: 37.39 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.1597, allocations: 4 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1597, allocations: 46.61 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1597, allocations: 0 / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001925/0.1599, allocations: 129.5 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.16, allocations: 55.34 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.1601, allocations: 129.8 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1601, allocations: 25.7 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.1601, allocations: 92.14 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.1602, allocations: 35.48 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.1602, allocations: 21.7 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1603, allocations: 322.8 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.1604, allocations: 23.98 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.1604, allocations: 27.98 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.1605, allocations: 72.83 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1605, allocations: 0 / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.1606, allocations: 105.5 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1606, allocations: 4 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1606, allocations: 4.062 kB / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1607, allocations: 0 / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1607, allocations: 0 / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1607, allocations: 4.375 kB / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1607, allocations: 0 / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1607, allocations: 0 / 0.6853 GB, free: 11.22 MB / 494.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 7.979e-05/0.1608, allocations: 122.5 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1608, allocations: 11.78 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.1608, allocations: 8.375 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.1609, allocations: 19.98 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1609, allocations: 0 / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1609, allocations: 0 / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.161, allocations: 177.6 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.161, allocations: 0 / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.161, allocations: 7.875 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1611, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.1611, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1611, allocations: 4 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1611, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1612, allocations: 121 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1613, allocations: 96.94 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1613, allocations: 0 / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.1613, allocations: 0 / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.1613, allocations: 3.938 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1613, allocations: 7.938 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.1614, allocations: 99.27 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000306/0.1617, allocations: 80.02 kB / 0.686 GB, free: 10.38 MB / 494.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.0005942/0.1623, allocations: 0.7294 MB / 0.6867 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1624, allocations: 67.92 kB / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1624, allocations: 0 / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1625, allocations: 40.08 kB / 0.6868 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1626, allocations: 7.922 kB / 0.6868 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.1631, allocations: 247.9 kB / 0.6871 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1634, allocations: 0.704 MB / 0.6878 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.1635, allocations: 4.062 kB / 0.6878 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.1635, allocations: 19.44 kB / 0.6878 GB, free: 8.469 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1635, allocations: 0 / 0.6878 GB, free: 8.469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1834, allocations: 2.83 MB / 0.6906 GB, free: 5.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.123, allocations: 6.609 kB / 0.6906 GB, free: 5.844 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)