Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001133/0.001133, allocations: 107.7 kB / 16.41 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.001147/0.001147, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.92 kB / 0.568 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 77.94 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00148/0.1299, allocations: 0.5154 MB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.1307, allocations: 0.7848 MB / 0.6454 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.495e-05/0.1307, allocations: 0 / 0.6454 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1308, allocations: 0 / 0.6454 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.1308, allocations: 0 / 0.6454 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.131, allocations: 27.91 kB / 0.6454 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.343e-05/0.1311, allocations: 3.938 kB / 0.6454 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1311, allocations: 4 kB / 0.6454 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.316e-05/0.1311, allocations: 4 kB / 0.6454 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1313, allocations: 19.98 kB / 0.6454 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.1313, allocations: 0 / 0.6454 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-06/0.1313, allocations: 0 / 0.6454 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1313, allocations: 0 / 0.6454 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.1313, allocations: 3.984 kB / 0.6454 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.493e-05/0.1314, allocations: 0 / 0.6454 GB, free: 8.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1314, allocations: 0 / 0.6454 GB, free: 8.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1314, allocations: 0 / 0.6454 GB, free: 8.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1314, allocations: 3.938 kB / 0.6454 GB, free: 8.148 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002325/0.1316, allocations: 319.5 kB / 0.6457 GB, free: 7.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1317, allocations: 8.625 kB / 0.6458 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.1317, allocations: 34.73 kB / 0.6458 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.1317, allocations: 4.938 kB / 0.6458 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.1318, allocations: 160.4 kB / 0.6459 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1318, allocations: 384 / 0.6459 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.1318, allocations: 384 / 0.6459 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.1319, allocations: 26.27 kB / 0.646 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1319, allocations: 3.938 kB / 0.646 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1319, allocations: 8 kB / 0.646 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.132, allocations: 3.938 kB / 0.646 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.132, allocations: 0 / 0.646 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.1322, allocations: 387.4 kB / 0.6464 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.539e-05/0.1323, allocations: 169.1 kB / 0.6465 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.1323, allocations: 92.14 kB / 0.6466 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1323, allocations: 75.28 kB / 0.6467 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1324, allocations: 105.8 kB / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1324, allocations: 0 / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.119e-05/0.1325, allocations: 33.64 kB / 0.6468 GB, free: 6.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1325, allocations: 126.7 kB / 0.6469 GB, free: 6.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.1326, allocations: 97.84 kB / 0.647 GB, free: 6.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1326, allocations: 25.7 kB / 0.647 GB, free: 6.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1326, allocations: 80.42 kB / 0.6471 GB, free: 6.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.1326, allocations: 0 / 0.6471 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.1327, allocations: 17.72 kB / 0.6471 GB, free: 6.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.1327, allocations: 310.8 kB / 0.6474 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.1328, allocations: 0 / 0.6474 GB, free: 5.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.1328, allocations: 4 kB / 0.6474 GB, free: 5.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.1328, allocations: 9.047 kB / 0.6475 GB, free: 5.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1328, allocations: 3.938 kB / 0.6475 GB, free: 5.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.636e-05/0.1329, allocations: 37.62 kB / 0.6475 GB, free: 5.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1329, allocations: 8 kB / 0.6475 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1329, allocations: 0 / 0.6475 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1329, allocations: 3.984 kB / 0.6475 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.133, allocations: 0 / 0.6475 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.133, allocations: 0 / 0.6475 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.133, allocations: 11.94 kB / 0.6475 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.133, allocations: 4.031 kB / 0.6475 GB, free: 5.781 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.232e-05/0.1331, allocations: 185.1 kB / 0.6477 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.1331, allocations: 104.9 kB / 0.6478 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1332, allocations: 112.1 kB / 0.6479 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.1332, allocations: 176.3 kB / 0.6481 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-05/0.1333, allocations: 185.3 kB / 0.6482 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/0.1333, allocations: 184.3 kB / 0.6484 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1335, allocations: 409.1 kB / 0.6488 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.1336, allocations: 101 kB / 0.6489 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.1336, allocations: 104.9 kB / 0.649 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.726e-05/0.1337, allocations: 180.2 kB / 0.6492 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.1337, allocations: 192.3 kB / 0.6494 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.008e-05/0.1338, allocations: 188.2 kB / 0.6495 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.631e-05/0.1338, allocations: 176.3 kB / 0.6497 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1339, allocations: 307.9 kB / 0.65 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.134, allocations: 190.1 kB / 0.6502 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1341, allocations: 184.2 kB / 0.6504 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.1341, allocations: 101 kB / 0.6505 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1342, allocations: 176.3 kB / 0.6506 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.1342, allocations: 104.9 kB / 0.6507 GB, free: 2.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.1343, allocations: 79.28 kB / 0.6508 GB, free: 2.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1343, allocations: 96 / 0.6508 GB, free: 2.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1345, allocations: 4 kB / 0.6508 GB, free: 2.188 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003211/0.1348, allocations: 0.8106 MB / 0.6516 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.1349, allocations: 7.938 kB / 0.6516 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1349, allocations: 4.062 kB / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1349, allocations: 4 kB / 0.6516 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1352, allocations: 455.7 kB / 0.652 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.1355, allocations: 177.9 kB / 0.6522 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1357, allocations: 0.669 MB / 0.6529 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.028e-05/0.1357, allocations: 4 kB / 0.6529 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.1357, allocations: 11.44 kB / 0.6529 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1357, allocations: 0 / 0.6529 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4224/0.5581, allocations: 0.9535 MB / 0.6538 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.099, allocations: 0.875 kB / 0.6538 GB, free: 15.2 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_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_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)