Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.0007734/0.0007734, 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.0008686/0.0008686, allocations: 169.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.89/0.89, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.715/0.715, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.082e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0016/0.001621, allocations: 0.5525 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.00233, allocations: 0.7924 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.002344, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.002357, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.002363, allocations: 4 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.002591, allocations: 19.86 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.002631, allocations: 4 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.002668, allocations: 3.984 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.002691, allocations: 4 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.002811, allocations: 19.98 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.00282, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-06/0.002823, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.002831, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.002844, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 3.625e-05/0.002881, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.002883, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002884, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002888, allocations: 0 / 0.6195 GB, free: 12.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001933/0.003081, allocations: 234.5 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.003117, allocations: 8.031 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.003142, allocations: 38.69 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.00316, allocations: 0.9375 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.894e-05/0.003209, allocations: 105.7 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.003219, allocations: 4.375 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-06/0.003225, allocations: 384 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.003291, allocations: 26.27 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003297, allocations: 4.188 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.003304, allocations: 384 / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.00331, allocations: 8.125 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.423e-05/0.003325, allocations: 0 / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.003657, allocations: 350.6 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.003715, allocations: 169.1 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.003739, allocations: 80.14 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.003757, allocations: 79.28 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.003788, allocations: 113.8 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.003788, allocations: 0 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.797e-05/0.003836, allocations: 33.73 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.003875, allocations: 130.6 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.003931, allocations: 97.84 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.003939, allocations: 25.7 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.003961, allocations: 80.14 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.003963, allocations: 0 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.003989, allocations: 13.72 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.004063, allocations: 318.8 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.00407, allocations: 0 / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.004074, allocations: 4 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.004094, allocations: 9.047 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.004095, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.992e-05/0.004165, allocations: 41.56 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.004177, allocations: 8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00418, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004191, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.004234, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.004239, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-06/0.004246, allocations: 4 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.00425, allocations: 0 / 0.6214 GB, free: 10.05 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: 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 5.858e-05/0.004309, allocations: 193.1 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.004342, allocations: 112.9 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.004372, allocations: 111.9 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/0.004406, allocations: 176.3 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/0.004444, allocations: 180.3 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.004481, allocations: 180.2 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.004607, allocations: 376.4 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.004631, allocations: 112.9 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.004651, allocations: 101 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.726e-05/0.004688, allocations: 180.2 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.004726, allocations: 188.2 kB / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.795e-05/0.004764, allocations: 184.2 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002839/0.005048, allocations: 180.2 kB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.044e-05/0.005128, allocations: 307.8 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.005157, allocations: 108.9 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.005205, allocations: 188.2 kB / 0.6242 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.005248, allocations: 104.9 kB / 0.6243 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.005289, allocations: 176.3 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.00531, allocations: 108.9 kB / 0.6246 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.005333, allocations: 75.28 kB / 0.6246 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005333, allocations: 4.094 kB / 0.6246 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001365/0.00547, allocations: 0 / 0.6246 GB, free: 6.578 MB / 0.5886 GB 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.0002288/0.005698, allocations: 0.8087 MB / 0.6254 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.61e-05/0.005744, allocations: 0 / 0.6254 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.005748, allocations: 7.938 kB / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.005749, allocations: 0 / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.005976, allocations: 455.7 kB / 0.6259 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.006202, allocations: 181.9 kB / 0.626 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.175e-05/0.006234, allocations: 55.36 kB / 0.6261 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.004e-05/0.006244, allocations: 8 kB / 0.6261 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.00626, allocations: 8.5 kB / 0.6261 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.006261, allocations: 0 / 0.6261 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.01916, allocations: 1.549 MB / 0.6276 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.607, allocations: 11.42 kB / 0.6276 GB, free: 3.629 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.326811956241727] Failed to read output from testmodel.py, exit status != 0: 6.687481511384249 6.696038173 6.691307509 Calling exit ...