Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_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.001333/0.001333, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001348/0.001348, allocations: 192 kB / 17.34 MB, free: 5.727 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7932/0.7932, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 62.38 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1356, allocations: 78.87 MB / 0.6506 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002351/0.138, allocations: 1.263 MB / 0.6518 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.1387, allocations: 461 kB / 0.6523 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1388, allocations: 0 / 0.6523 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.1389, allocations: 4 kB / 0.6523 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.1389, allocations: 11.91 kB / 0.6523 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1392, allocations: 31.91 kB / 0.6523 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.337e-05/0.1393, allocations: 23.91 kB / 0.6523 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1393, allocations: 4 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1393, allocations: 4 kB / 0.6524 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.1394, allocations: 19.92 kB / 0.6524 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.1394, allocations: 0 / 0.6524 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1396, allocations: 39.89 kB / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1396, allocations: 15.98 kB / 0.6524 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1397, allocations: 19.86 kB / 0.6524 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1398, allocations: 59.97 kB / 0.6525 GB, free: 1.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1398, allocations: 0 / 0.6525 GB, free: 1.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1398, allocations: 0 / 0.6525 GB, free: 1.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1398, allocations: 0 / 0.6525 GB, free: 1.66 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.0003835/0.1402, allocations: 351.3 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1403, allocations: 12.03 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1403, allocations: 34.75 kB / 0.6529 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.1403, allocations: 4.891 kB / 0.6529 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1405, allocations: 176.3 kB / 0.6531 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1405, allocations: 8.062 kB / 0.6531 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1405, allocations: 4 kB / 0.6531 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.855e-05/0.1406, allocations: 47.42 kB / 0.6531 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1407, allocations: 0 / 0.6531 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1407, allocations: 3.984 kB / 0.6531 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1407, allocations: 0 / 0.6531 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.1407, allocations: 11.92 kB / 0.6531 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1409, allocations: 174.5 kB / 0.6533 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.141, allocations: 45.08 kB / 0.6533 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.141, allocations: 17.84 kB / 0.6534 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-06/0.141, allocations: 0 / 0.6534 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.141, allocations: 46.5 kB / 0.6534 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1411, allocations: 0 / 0.6534 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1412, allocations: 49.77 kB / 0.6534 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1412, allocations: 81.17 kB / 0.6535 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1414, allocations: 139.4 kB / 0.6537 GB, free: 260 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1414, allocations: 25.7 kB / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.1415, allocations: 96.02 kB / 0.6538 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1415, allocations: 7.891 kB / 0.6538 GB, free: 120 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1415, allocations: 29.7 kB / 0.6538 GB, free: 84 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1417, allocations: 314.8 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.1417, allocations: 27.98 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.1418, allocations: 35.98 kB / 0.6542 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/0.1418, allocations: 42.34 kB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1419, allocations: 3.938 kB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001275/0.142, allocations: 96.86 kB / 0.6543 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.142, allocations: 4 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.142, allocations: 4 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.142, allocations: 0 / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.1421, allocations: 0 / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1421, allocations: 4 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.1421, allocations: 7.953 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1421, allocations: 0 / 0.6543 GB, free: 15.54 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 9.349e-05/0.1422, allocations: 125.8 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.1423, allocations: 3.953 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.1423, allocations: 3.531 kB / 0.6545 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1423, allocations: 0 / 0.6545 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1423, allocations: 4 kB / 0.6545 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1423, allocations: 0 / 0.6545 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1425, allocations: 169.5 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1425, allocations: 4 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.1425, allocations: 7.938 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1425, allocations: 0 / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.1425, allocations: 0 / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1425, allocations: 0 / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1425, allocations: 3.938 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.823e-05/0.1426, allocations: 81.88 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1427, allocations: 89.09 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1427, allocations: 0 / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.1427, allocations: 0 / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1428, allocations: 0 / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.1428, allocations: 4 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.1428, allocations: 99.25 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1428, allocations: 3.938 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000214/0.1431, allocations: 16 kB / 0.6549 GB, free: 14.84 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.0004786/0.1436, allocations: 0.6327 MB / 0.6555 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1437, allocations: 85.67 kB / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1437, allocations: 0 / 0.6556 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.1438, allocations: 8.031 kB / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1439, allocations: 4.062 kB / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1451, allocations: 1.31 MB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1454, allocations: 0.6846 MB / 0.6576 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.1455, allocations: 0 / 0.6576 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1455, allocations: 21.45 kB / 0.6576 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1455, allocations: 0 / 0.6576 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.1655, allocations: 1.691 MB / 0.6592 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.648, allocations: 17.23 kB / 0.6593 GB, free: 10.43 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)