Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001276/0.001276, 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.001286/0.001286, allocations: 195.3 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002613/0.002613, allocations: 279.2 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 97.14 kB / 0.6066 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.151, allocations: 89.14 MB / 0.6936 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002542/0.1536, allocations: 1.284 MB / 0.6949 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.1544, allocations: 452.1 kB / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1544, allocations: 0 / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.09e-05/0.1545, allocations: 7.922 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.1546, allocations: 3.984 kB / 0.6953 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1548, allocations: 31.91 kB / 0.6954 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.1549, allocations: 24.91 kB / 0.6954 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1549, allocations: 0 / 0.6954 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.155, allocations: 19.92 kB / 0.6954 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.155, allocations: 11.98 kB / 0.6954 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1551, allocations: 0 / 0.6954 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1552, allocations: 43.89 kB / 0.6955 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.1552, allocations: 15.92 kB / 0.6955 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1553, allocations: 11.94 kB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1554, allocations: 60.03 kB / 0.6955 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1554, allocations: 0 / 0.6955 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1554, allocations: 4 kB / 0.6955 GB, free: 2.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1554, allocations: 0 / 0.6955 GB, free: 2.23 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003908/0.1558, allocations: 351.4 kB / 0.6959 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1559, allocations: 8.031 kB / 0.6959 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1559, allocations: 34.73 kB / 0.6959 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1559, allocations: 8.844 kB / 0.6959 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1561, allocations: 176.3 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-06/0.1561, allocations: 384 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1561, allocations: 384 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.1562, allocations: 47.53 kB / 0.6961 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1563, allocations: 8 kB / 0.6962 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.1563, allocations: 0 / 0.6962 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1563, allocations: 0 / 0.6962 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.1563, allocations: 15.94 kB / 0.6962 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1565, allocations: 178.4 kB / 0.6963 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/0.1566, allocations: 37.22 kB / 0.6964 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.1566, allocations: 17.78 kB / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1566, allocations: 11.88 kB / 0.6964 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1567, allocations: 46.42 kB / 0.6964 GB, free: 1.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1567, allocations: 0 / 0.6964 GB, free: 1.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.1568, allocations: 41.64 kB / 0.6965 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1569, allocations: 81.34 kB / 0.6966 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.157, allocations: 144.1 kB / 0.6967 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.157, allocations: 25.7 kB / 0.6967 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1571, allocations: 88.05 kB / 0.6968 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.1571, allocations: 4 kB / 0.6968 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1571, allocations: 25.7 kB / 0.6968 GB, free: 0.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1573, allocations: 322.8 kB / 0.6971 GB, free: 352 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.1573, allocations: 20 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.1573, allocations: 23.98 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.1574, allocations: 49.47 kB / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1574, allocations: 0 / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001407/0.1576, allocations: 104 kB / 0.6973 GB, free: 148 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1576, allocations: 8 kB / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.1576, allocations: 0 / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1576, allocations: 0 / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.1577, allocations: 4 kB / 0.6973 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1577, allocations: 3.984 kB / 0.6973 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.1577, allocations: 7.844 kB / 0.6974 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1577, allocations: 4 kB / 0.6974 GB, free: 120 kB / 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.473e-05/0.1578, allocations: 117.9 kB / 0.6975 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1579, allocations: 7.844 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.1579, allocations: 3.531 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1579, allocations: 7.938 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1579, allocations: 0 / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1579, allocations: 0 / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.158, allocations: 157.7 kB / 0.6976 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.158, allocations: 0 / 0.6976 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.1581, allocations: 7.938 kB / 0.6976 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1581, allocations: 7.938 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.1581, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1581, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1581, allocations: 4 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.911e-05/0.1582, allocations: 69.92 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1583, allocations: 93.05 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1583, allocations: 4.031 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.1583, allocations: 7.984 kB / 0.6978 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1583, allocations: 7.984 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1583, allocations: 0 / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.1584, allocations: 95.27 kB / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1584, allocations: 3.938 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002076/0.1586, allocations: 20 kB / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0004476/0.1591, allocations: 0.6372 MB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1592, allocations: 89.61 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1592, allocations: 0 / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.1593, allocations: 4 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1594, allocations: 4.656 kB / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1606, allocations: 1.313 MB / 0.6999 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.161, allocations: 0.6807 MB / 0.7006 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.161, allocations: 4 kB / 0.7006 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.161, allocations: 19.42 kB / 0.7006 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.161, allocations: 4 kB / 0.7006 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1834, allocations: 1.689 MB / 0.7023 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.004, allocations: 13.53 kB / 0.7023 GB, free: 11.01 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_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_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)