Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000858/0.000858, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008024/0.0008024, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8532/0.8532, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6891/0.6891, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.623e-06/1.623e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.89e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001703/0.001722, allocations: 1.301 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005561/0.002278, allocations: 442.9 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.002304, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.002369, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.002421, allocations: 19.84 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.002636, allocations: 31.84 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.0027, allocations: 27.91 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.002733, allocations: 4 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.00277, allocations: 11.92 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.002831, allocations: 15.97 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.002842, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.002935, allocations: 43.89 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.002973, allocations: 15.92 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.002995, allocations: 12 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003097, allocations: 55.8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003098, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003099, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003102, allocations: 0 / 0.62 GB, free: 11.69 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.0002653/0.003368, allocations: 274.1 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.003398, allocations: 9.469 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.003424, allocations: 42.75 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.93e-05/0.003443, allocations: 8.891 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.003538, allocations: 113.8 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.003545, allocations: 384 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.003553, allocations: 4.375 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/0.003628, allocations: 47.92 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.003634, allocations: 4.125 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.003699, allocations: 4.125 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003702, allocations: 0 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.00372, allocations: 7.984 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.003839, allocations: 149.6 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.00388, allocations: 45.16 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.003904, allocations: 17.77 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.003912, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.003928, allocations: 34.56 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-07/0.003929, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001023/0.004031, allocations: 53.56 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.004059, allocations: 77.11 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.00413, allocations: 138 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004139, allocations: 29.7 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.004164, allocations: 96.06 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.004175, allocations: 3.953 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.004202, allocations: 21.72 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.004268, allocations: 322.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.004299, allocations: 23.98 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.004318, allocations: 24 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.004359, allocations: 52.16 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004361, allocations: 4 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.662e-05/0.004438, allocations: 93.62 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004448, allocations: 10.19 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.004461, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.004471, allocations: 3.938 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.962e-05/0.00451, allocations: 11.92 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004515, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.004533, allocations: 11.89 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.004538, allocations: 0 / 0.6217 GB, free: 9.773 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.566e-05/0.004583, allocations: 109.8 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.00459, allocations: 11.95 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.004605, allocations: 7.453 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.004608, allocations: 12.02 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004611, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004615, allocations: 4 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.023e-05/0.004675, allocations: 132.7 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004676, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.00469, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.004691, allocations: 4 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.004695, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.004698, allocations: 7.938 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.004699, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.274e-05/0.004752, allocations: 81.88 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.004757, allocations: 4 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.004765, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.004774, allocations: 3.938 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.004784, allocations: 7.984 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.004787, allocations: 4 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001484/0.004935, allocations: 99.27 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004935, allocations: 0 / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001353/0.00507, allocations: 15.94 kB / 0.6222 GB, free: 9.199 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.000239/0.005309, allocations: 0.6367 MB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.005405, allocations: 77.61 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005407, allocations: 0 / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.005413, allocations: 4 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.005516, allocations: 7.938 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.006234, allocations: 1.311 MB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.006273, allocations: 71.33 kB / 0.6242 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.00629, allocations: 4.188 kB / 0.6242 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.006315, allocations: 16.5 kB / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.006316, allocations: 3.938 kB / 0.6243 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.01992, allocations: 2.315 MB / 0.6265 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/6.989, allocations: 15.08 kB / 0.6265 GB, free: 4.824 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.588076519779861] Failed to read output from testmodel.py, exit status != 0: 7.067836644127965 7.076343997 7.071645714 Calling exit ...