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.001084/0.001084, 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.001169/0.001169, allocations: 195.2 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 275.2 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 103.7 kB / 0.5954 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1406, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002252/0.1429, allocations: 1.283 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.1436, allocations: 452.6 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1436, allocations: 4 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.1437, allocations: 3.938 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.1438, allocations: 4.656 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.144, allocations: 32.77 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.1441, allocations: 23.92 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.1441, allocations: 0 / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.1441, allocations: 20.53 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.1442, allocations: 5.406 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1442, allocations: 0 / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1443, allocations: 47.88 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.1444, allocations: 19.92 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.1444, allocations: 12.59 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1446, allocations: 60.03 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1446, allocations: 4 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1446, allocations: 0 / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1446, allocations: 0 / 0.6822 GB, free: 14.59 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.0003419/0.1449, allocations: 351.3 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.145, allocations: 12.03 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.145, allocations: 30.75 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.145, allocations: 4.844 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1452, allocations: 172.3 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.1452, allocations: 4.375 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.1452, allocations: 4.375 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.788e-05/0.1453, allocations: 47.53 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1453, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.1453, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1453, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.1454, allocations: 7.938 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1455, allocations: 178.4 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.1456, allocations: 41.16 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.1456, allocations: 21.83 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.1456, allocations: 3.938 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1457, allocations: 42.44 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1457, allocations: 4 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000125/0.1458, allocations: 49.62 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1458, allocations: 77.11 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1459, allocations: 141.7 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.146, allocations: 25.7 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.146, allocations: 88.12 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.146, allocations: 7.906 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.1461, allocations: 21.97 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1462, allocations: 322.8 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.1462, allocations: 23.98 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.1462, allocations: 26.88 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.1463, allocations: 52.77 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1463, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001209/0.1464, allocations: 97.47 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1465, allocations: 4 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.1465, allocations: 7.984 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1465, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.1465, allocations: 8 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1466, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.1466, allocations: 7.844 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1466, allocations: 0 / 0.684 GB, free: 12.49 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 (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 6.33e-05/0.1467, allocations: 115.2 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1467, allocations: 7.922 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.1467, allocations: 7.531 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1467, allocations: 0 / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1467, allocations: 4 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1467, allocations: 4.094 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1468, allocations: 165.6 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1468, allocations: 3.984 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.1469, allocations: 7.938 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1469, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.1469, allocations: 4 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1469, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1469, allocations: 3.938 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.453e-05/0.147, allocations: 77.92 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.147, allocations: 92.94 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.147, allocations: 0 / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.1471, allocations: 4 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.1471, allocations: 0 / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.1471, allocations: 4 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.1471, allocations: 98.52 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1471, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.1474, allocations: 27.97 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB 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.0003567/0.1477, allocations: 0.6249 MB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1479, allocations: 81.67 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1479, allocations: 4.031 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.1479, allocations: 11.94 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.1481, allocations: 7.984 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1491, allocations: 1.305 MB / 0.6866 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1493, allocations: 0.6884 MB / 0.6873 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.028e-05/0.1494, allocations: 7.984 kB / 0.6873 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1494, allocations: 15.44 kB / 0.6873 GB, free: 8.883 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1494, allocations: 0 / 0.6873 GB, free: 8.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1664, allocations: 1.697 MB / 0.689 GB, free: 7.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.066, allocations: 11.56 kB / 0.689 GB, free: 7.383 MB / 494.1 MB (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)