Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001534/0.001534, allocations: 112.5 kB / 15.73 MB, free: 76 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.001894/0.001894, allocations: 191.3 kB / 16.67 MB, free: 6.57 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7243/0.7243, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.7 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002345/0.1587, allocations: 1.272 MB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.1595, allocations: 459.2 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1595, allocations: 3.938 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.258e-05/0.1596, allocations: 0 / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.1597, allocations: 11.97 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.16, allocations: 35.91 kB / 0.661 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.1601, allocations: 19.91 kB / 0.661 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.1601, allocations: 4 kB / 0.661 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.1602, allocations: 15.94 kB / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.1602, allocations: 15.92 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1603, allocations: 7.922 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1604, allocations: 35.97 kB / 0.6611 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1604, allocations: 15.97 kB / 0.6611 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1605, allocations: 15.88 kB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1606, allocations: 69.31 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1606, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1606, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1607, allocations: 0 / 0.6611 GB, free: 12.04 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.0003699/0.161, allocations: 355.2 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1611, allocations: 12.03 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.1611, allocations: 30.75 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.1611, allocations: 0.9375 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1613, allocations: 168.4 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1613, allocations: 4.125 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.1613, allocations: 4 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.835e-05/0.1614, allocations: 47.41 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1615, allocations: 4 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1615, allocations: 3.938 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1615, allocations: 0 / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.1615, allocations: 4 kB / 0.6618 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1617, allocations: 178.5 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.241e-05/0.1617, allocations: 45.02 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.1618, allocations: 25.84 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1618, allocations: 0 / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1618, allocations: 38.56 kB / 0.662 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1618, allocations: 0 / 0.662 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.162, allocations: 53.58 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.162, allocations: 81.36 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1622, allocations: 133.8 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1622, allocations: 29.7 kB / 0.6623 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1622, allocations: 84.09 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1622, allocations: 7.891 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1623, allocations: 33.64 kB / 0.6624 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1624, allocations: 318.8 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.1624, allocations: 20 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.1625, allocations: 35.92 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.1625, allocations: 47.47 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1626, allocations: 3.938 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001176/0.1627, allocations: 93.67 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1627, allocations: 4 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.1627, allocations: 4 kB / 0.6629 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1627, allocations: 0 / 0.6629 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.1628, allocations: 7.938 kB / 0.6629 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1628, allocations: 4 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.1628, allocations: 7.906 kB / 0.663 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1629, allocations: 8 kB / 0.663 GB, free: 9.918 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 7.186e-05/0.1629, allocations: 122.4 kB / 0.6631 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.1629, allocations: 4 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.163, allocations: 3.531 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.163, allocations: 0 / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.163, allocations: 4 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.163, allocations: 0 / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1631, allocations: 173.5 kB / 0.6633 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1631, allocations: 0 / 0.6633 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.1631, allocations: 8 kB / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1631, allocations: 0 / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1632, allocations: 0 / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1632, allocations: 0 / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1632, allocations: 0 / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.477e-05/0.1633, allocations: 77.88 kB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1633, allocations: 89 kB / 0.6634 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1633, allocations: 4.031 kB / 0.6634 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.1633, allocations: 0 / 0.6634 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.1634, allocations: 0 / 0.6634 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1634, allocations: 4.094 kB / 0.6634 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.1634, allocations: 103.2 kB / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 0 / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002047/0.1636, allocations: 16 kB / 0.6635 GB, free: 9.215 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.0003921/0.164, allocations: 0.6294 MB / 0.6642 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.1642, allocations: 89.59 kB / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1642, allocations: 0 / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.1642, allocations: 8 kB / 0.6643 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1644, allocations: 4.156 kB / 0.6643 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1654, allocations: 1.312 MB / 0.6655 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1657, allocations: 0.6884 MB / 0.6662 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.1657, allocations: 3.984 kB / 0.6662 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1657, allocations: 15.44 kB / 0.6662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1657, allocations: 0 / 0.6662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.184, allocations: 1.698 MB / 0.6679 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.45, allocations: 7.719 kB / 0.6679 GB, free: 4.82 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)