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.0007214/0.0007214, 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.0008514/0.0008514, allocations: 170.3 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.846/0.846, 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.6963/0.6963, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.293e-06/1.293e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.146e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0009458/0.0009573, allocations: 0.5598 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.001609, allocations: 0.7847 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.001621, allocations: 0 / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.001633, allocations: 0 / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.001639, allocations: 4 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.001851, allocations: 19.97 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.712e-05/0.001888, allocations: 3.938 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.001924, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.001945, allocations: 4 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.002053, allocations: 19.91 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.002062, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-06/0.002065, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.002073, allocations: 4 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.178e-05/0.002085, allocations: 0 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 3.607e-05/0.002121, allocations: 7.922 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002122, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002123, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.002126, allocations: 0 / 0.6195 GB, free: 12.18 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.0001765/0.002302, allocations: 234.5 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.002336, allocations: 8.031 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.335e-05/0.00236, allocations: 30.75 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.465e-05/0.002374, allocations: 4.938 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.464e-05/0.002419, allocations: 109.8 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.002427, allocations: 384 / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.002432, allocations: 384 / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.346e-05/0.002496, allocations: 30.27 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.002501, allocations: 192 / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.002507, allocations: 384 / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.002512, allocations: 4.125 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.002526, allocations: 7.938 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.00272, allocations: 342.6 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.923e-05/0.002779, allocations: 181.1 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.002801, allocations: 84.14 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.00282, allocations: 75.28 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.002849, allocations: 113.7 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.00285, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.537e-05/0.002895, allocations: 37.67 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.002931, allocations: 126.7 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.002987, allocations: 89.86 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.002993, allocations: 25.7 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.003016, allocations: 88.14 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.003018, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.003038, allocations: 17.83 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.003099, allocations: 318.8 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-06/0.003105, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.003108, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.00313, allocations: 12.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003131, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.363e-05/0.003205, allocations: 37.64 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.003215, allocations: 4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.003219, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.003229, allocations: 96 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.003274, allocations: 8 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.003279, allocations: 3.984 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-06/0.003287, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.003291, allocations: 0 / 0.6214 GB, free: 10.03 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 6.221e-05/0.003353, allocations: 185.1 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.003389, allocations: 108.9 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.003687, allocations: 104 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/0.003726, allocations: 180.3 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.192e-05/0.003768, allocations: 188.2 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/0.003804, allocations: 176.3 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.003933, allocations: 376.4 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/0.003957, allocations: 109 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.003981, allocations: 105 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-05/0.004021, allocations: 192.1 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.004062, allocations: 176.3 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-05/0.004102, allocations: 184.2 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/0.004144, allocations: 176.3 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.612e-05/0.004241, allocations: 315.7 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.00427, allocations: 104.9 kB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.004314, allocations: 184.2 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.004357, allocations: 112.9 kB / 0.6243 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.004401, allocations: 184.2 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.004422, allocations: 101 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.004444, allocations: 75.28 kB / 0.6246 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004444, allocations: 0 / 0.6246 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000135/0.004579, allocations: 4 kB / 0.6246 GB, free: 6.559 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.0002454/0.004824, allocations: 0.8087 MB / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.196e-05/0.004876, allocations: 4 kB / 0.6254 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004878, allocations: 160 / 0.6254 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.004879, allocations: 4 kB / 0.6254 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.005114, allocations: 459.7 kB / 0.6259 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.005334, allocations: 176.2 kB / 0.626 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.005365, allocations: 63.28 kB / 0.6261 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.218e-06/0.005374, allocations: 0 / 0.6261 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.005391, allocations: 12.44 kB / 0.6261 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.005392, allocations: 0 / 0.6261 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.01855, allocations: 1.556 MB / 0.6276 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.277/6.296, allocations: 4 kB / 0.6276 GB, free: 3.609 MB / 0.5886 GB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 8.782740025781095] Failed to read output from testmodel.py, exit status != 0: 6.375316230580211 6.385849697 6.381836122 Calling exit ...