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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7087/0.7087, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.924e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001583/0.001602, allocations: 1.3 MB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000546/0.002148, allocations: 454.9 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.002177, allocations: 4 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.262e-05/0.00225, allocations: 3.938 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.002306, allocations: 3.984 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.002545, allocations: 39.83 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.002608, allocations: 19.92 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.002644, allocations: 4 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.002683, allocations: 19.97 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.002744, allocations: 11.92 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.002755, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.00285, allocations: 43.89 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.002898, allocations: 11.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.002922, allocations: 15.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003033, allocations: 55.88 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003034, allocations: 3.938 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.603e-06/0.003036, allocations: 3.984 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.00304, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 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.0002766/0.003316, allocations: 274.2 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.003353, allocations: 12.03 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.003378, allocations: 30.75 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.003397, allocations: 4.891 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.003501, allocations: 117.7 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.00351, allocations: 12.36 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.003517, allocations: 384 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.003597, allocations: 39.98 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.003603, allocations: 192 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.00361, allocations: 4.125 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.003615, allocations: 4 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.003633, allocations: 15.92 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.003753, allocations: 141.6 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.003793, allocations: 37.22 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.003819, allocations: 21.78 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.003834, allocations: 3.984 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.003853, allocations: 38.48 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003853, allocations: 0 / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001131/0.003966, allocations: 57.78 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.003997, allocations: 85.05 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.004072, allocations: 144.5 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.004081, allocations: 25.7 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.004107, allocations: 80.14 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.004121, allocations: 7.938 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.004149, allocations: 29.72 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.004216, allocations: 314.8 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.00425, allocations: 31.98 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.004269, allocations: 24 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.004312, allocations: 44.78 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004314, allocations: 4.031 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.357e-05/0.004387, allocations: 100.8 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004398, allocations: 6.344 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.004413, allocations: 4 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.004424, allocations: 3.938 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.004465, allocations: 3.984 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.00447, allocations: 4 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.004488, allocations: 11.89 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.004493, allocations: 0 / 0.6218 GB, free: 9.703 MB / 0.5886 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 4.995e-05/0.004543, allocations: 113.8 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-06/0.004548, allocations: 7.953 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.004564, allocations: 11.41 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.004567, allocations: 7.938 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.004571, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004574, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.263e-05/0.004636, allocations: 132.8 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004637, allocations: 0 / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.004645, allocations: 4 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004646, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.00465, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.004653, allocations: 7.875 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004653, allocations: 8 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.941e-05/0.004703, allocations: 77.94 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.004708, allocations: 4 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.004717, allocations: 4 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.004726, allocations: 3.938 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.004741, allocations: 3.984 kB / 0.6221 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.004742, allocations: 0 / 0.6221 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.004779, allocations: 99.27 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004779, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001337/0.004912, allocations: 23.94 kB / 0.6222 GB, free: 9.129 MB / 0.5886 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.0002564/0.005169, allocations: 0.6289 MB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.005269, allocations: 81.55 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005271, allocations: 0 / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.005277, allocations: 11.88 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005383, allocations: 4 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.006121, allocations: 1.314 MB / 0.6242 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.006161, allocations: 75.55 kB / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.006178, allocations: 0 / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.006204, allocations: 16.5 kB / 0.6243 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.006205, allocations: 0 / 0.6243 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.02062, allocations: 2.314 MB / 0.6266 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.751, allocations: 2.25 kB / 0.6266 GB, free: 4.766 MB / 0.5886 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.46543838456273] Failed to read output from testmodel.py, exit status != 0: 6.829668314196169 6.839894188 6.835261389 Calling exit ...