Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_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.006731/0.006731, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001317/0.001317, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 77.59 kB / 0.5858 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 81.02 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002539/0.1516, allocations: 1.269 MB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.1524, allocations: 451.2 kB / 0.6666 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.1525, allocations: 0 / 0.6666 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.567e-05/0.1526, allocations: 3.984 kB / 0.6666 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.1526, allocations: 11.94 kB / 0.6666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1529, allocations: 27.89 kB / 0.6666 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.153, allocations: 23.92 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.153, allocations: 8 kB / 0.6667 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.1531, allocations: 7.984 kB / 0.6667 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.1531, allocations: 15.92 kB / 0.6667 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1531, allocations: 4 kB / 0.6667 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1533, allocations: 43.89 kB / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.1533, allocations: 11.98 kB / 0.6667 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1534, allocations: 19.86 kB / 0.6668 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1535, allocations: 59.98 kB / 0.6668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1535, allocations: 0 / 0.6668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1535, allocations: 0 / 0.6668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1535, allocations: 0 / 0.6668 GB, free: 3.668 MB / 0.4981 GB 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.0003937/0.1539, allocations: 351.3 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.154, allocations: 13.09 kB / 0.6672 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.154, allocations: 30.75 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.154, allocations: 8.891 kB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1542, allocations: 171.1 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1542, allocations: 4.125 kB / 0.6674 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1542, allocations: 4 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.1543, allocations: 47.34 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1544, allocations: 11.98 kB / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.1544, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1544, allocations: 0 / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.1544, allocations: 4 kB / 0.6674 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.1546, allocations: 178.5 kB / 0.6676 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.1547, allocations: 41.09 kB / 0.6676 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.1547, allocations: 25.78 kB / 0.6677 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.1547, allocations: 3.938 kB / 0.6677 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1548, allocations: 38.55 kB / 0.6677 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1548, allocations: 0 / 0.6677 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.1549, allocations: 49.62 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.155, allocations: 81.36 kB / 0.6678 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1551, allocations: 137.8 kB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1551, allocations: 29.64 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1552, allocations: 88.09 kB / 0.6681 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1552, allocations: 15.86 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1552, allocations: 21.72 kB / 0.6681 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1554, allocations: 318.8 kB / 0.6684 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.1554, allocations: 27.98 kB / 0.6684 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.1555, allocations: 20 kB / 0.6685 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.1555, allocations: 48.22 kB / 0.6685 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1556, allocations: 3.938 kB / 0.6685 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001316/0.1557, allocations: 101.6 kB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1557, allocations: 4 kB / 0.6686 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1557, allocations: 0 / 0.6686 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1557, allocations: 0 / 0.6686 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.1558, allocations: 11.92 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1558, allocations: 0 / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.1558, allocations: 7.953 kB / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.1558, allocations: 0 / 0.6686 GB, free: 1.555 MB / 0.4981 GB 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 8.264e-05/0.1559, allocations: 117.8 kB / 0.6687 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.156, allocations: 7.953 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.156, allocations: 11.52 kB / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.156, allocations: 0 / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.156, allocations: 0 / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.156, allocations: 0 / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1561, allocations: 169.5 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1561, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.1562, allocations: 4 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1562, allocations: 4 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1562, allocations: 4 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1562, allocations: 0 / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1562, allocations: 0 / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.991e-05/0.1563, allocations: 81.81 kB / 0.669 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1563, allocations: 77.11 kB / 0.6691 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1564, allocations: 7.984 kB / 0.6691 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.1564, allocations: 4.031 kB / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.1564, allocations: 0 / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.1564, allocations: 0 / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.1565, allocations: 111.2 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.236e-06/0.1565, allocations: 0 / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002034/0.1567, allocations: 19.94 kB / 0.6692 GB, free: 0.8477 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.0004636/0.1572, allocations: 0.6385 MB / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1573, allocations: 81.67 kB / 0.6699 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1573, allocations: 0 / 0.6699 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.1574, allocations: 4 kB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.1575, allocations: 13.97 kB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1587, allocations: 1.321 MB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1591, allocations: 0.6885 MB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.1591, allocations: 0 / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1591, allocations: 11.44 kB / 0.6719 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1591, allocations: 0 / 0.6719 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.181, allocations: 1.701 MB / 0.6736 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/7.914, allocations: 9.375 kB / 0.6736 GB, free: 12.43 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)