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.001543/0.001543, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.001752/0.001752, allocations: 191.2 kB / 17.34 MB, free: 5.766 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.239/1.239, 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.7187/0.7187, allocations: 122.8 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 67.42 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 77.93 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00206/0.1325, allocations: 1.27 MB / 0.6453 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.1332, allocations: 455.2 kB / 0.6458 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1333, allocations: 0 / 0.6458 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.446e-05/0.1334, allocations: 3.938 kB / 0.6458 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.1334, allocations: 11.91 kB / 0.6458 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1337, allocations: 31.91 kB / 0.6458 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.1337, allocations: 27.91 kB / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1338, allocations: 0 / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.1338, allocations: 8 kB / 0.6459 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.1339, allocations: 19.86 kB / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1339, allocations: 0 / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.134, allocations: 39.95 kB / 0.6459 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.1341, allocations: 15.97 kB / 0.6459 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.1341, allocations: 19.88 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1342, allocations: 59.97 kB / 0.646 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1342, allocations: 0 / 0.646 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1342, allocations: 0 / 0.646 GB, free: 7.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1343, allocations: 4 kB / 0.646 GB, free: 7.582 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.0003441/0.1346, allocations: 355.2 kB / 0.6463 GB, free: 7.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1346, allocations: 12.56 kB / 0.6464 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.1347, allocations: 30.75 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.1347, allocations: 4.891 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1348, allocations: 176.4 kB / 0.6466 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-06/0.1349, allocations: 384 / 0.6466 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1349, allocations: 4.375 kB / 0.6466 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.135, allocations: 43.55 kB / 0.6466 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.135, allocations: 3.984 kB / 0.6466 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-06/0.135, allocations: 4 kB / 0.6466 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.135, allocations: 0 / 0.6466 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.135, allocations: 11.94 kB / 0.6466 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1352, allocations: 175.6 kB / 0.6468 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.1352, allocations: 45.14 kB / 0.6468 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1353, allocations: 17.78 kB / 0.6469 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.1353, allocations: 0 / 0.6469 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1353, allocations: 42.5 kB / 0.6469 GB, free: 6.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1353, allocations: 0 / 0.6469 GB, free: 6.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1355, allocations: 53.58 kB / 0.6469 GB, free: 6.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1355, allocations: 77.36 kB / 0.647 GB, free: 6.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1356, allocations: 148.3 kB / 0.6472 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1356, allocations: 25.7 kB / 0.6472 GB, free: 6.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1357, allocations: 84.05 kB / 0.6473 GB, free: 6.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1357, allocations: 15.89 kB / 0.6473 GB, free: 6.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1357, allocations: 29.64 kB / 0.6473 GB, free: 6.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.1358, allocations: 318.8 kB / 0.6476 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.1359, allocations: 24 kB / 0.6476 GB, free: 5.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.1359, allocations: 23.98 kB / 0.6477 GB, free: 5.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.501e-05/0.136, allocations: 52.72 kB / 0.6477 GB, free: 5.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.136, allocations: 0 / 0.6477 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001183/0.1361, allocations: 103.4 kB / 0.6478 GB, free: 5.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1362, allocations: 8 kB / 0.6478 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.1362, allocations: 0 / 0.6478 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1362, allocations: 0 / 0.6478 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.1363, allocations: 8 kB / 0.6478 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1363, allocations: 0 / 0.6478 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1363, allocations: 3.953 kB / 0.6478 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.1363, allocations: 4 kB / 0.6478 GB, free: 5.461 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 8.191e-05/0.1364, allocations: 117.8 kB / 0.6479 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1364, allocations: 7.891 kB / 0.6479 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.1365, allocations: 7.531 kB / 0.648 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1365, allocations: 4 kB / 0.648 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1365, allocations: 0 / 0.648 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1365, allocations: 0 / 0.648 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.1366, allocations: 165.6 kB / 0.6481 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1366, allocations: 3.938 kB / 0.6481 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.1366, allocations: 8.031 kB / 0.6481 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1366, allocations: 7.984 kB / 0.6481 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1366, allocations: 0 / 0.6481 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1366, allocations: 0 / 0.6481 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1366, allocations: 4 kB / 0.6481 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.1367, allocations: 65.98 kB / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1368, allocations: 89 kB / 0.6483 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1368, allocations: 0 / 0.6483 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.1368, allocations: 4.031 kB / 0.6483 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.1368, allocations: 4 kB / 0.6483 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1368, allocations: 3.938 kB / 0.6483 GB, free: 4.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.1369, allocations: 103.2 kB / 0.6484 GB, free: 4.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 4 kB / 0.6484 GB, free: 4.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1371, allocations: 12 kB / 0.6484 GB, free: 4.758 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.0003621/0.1375, allocations: 0.6326 MB / 0.649 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1376, allocations: 89.61 kB / 0.6491 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1377, allocations: 0 / 0.6491 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.1377, allocations: 4 kB / 0.6491 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1378, allocations: 5.484 kB / 0.6491 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1388, allocations: 1.32 MB / 0.6504 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1391, allocations: 0.6807 MB / 0.6511 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.254e-05/0.1391, allocations: 7.984 kB / 0.6511 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1391, allocations: 11.44 kB / 0.6511 GB, free: 1.863 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1391, allocations: 0 / 0.6511 GB, free: 1.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4002/0.5394, allocations: 1.711 MB / 0.6528 GB, free: 360 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.03, allocations: 4.375 kB / 0.6528 GB, free: 360 kB / 494.1 MB (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)