Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.0008793/0.0008793, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.000889/0.000889, allocations: 173 kB / 23.49 MB, free: 1.055 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.9129/0.9129, allocations: 177.1 MB / 203.8 MB, free: 5.66 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-545:108: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-545:116: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.7591/0.7591, allocations: 154.6 MB / 414.8 MB, free: 0.6836 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5204 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.84e-05, allocations: 2.312 kB / 0.5204 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001611/0.001629, allocations: 1.295 MB / 0.5217 GB, free: 92 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.00243, allocations: 0.494 MB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.002457, allocations: 3.938 kB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.002499, allocations: 0.9688 kB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.002575, allocations: 4 kB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.002951, allocations: 57.53 kB / 0.5222 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.003018, allocations: 11.98 kB / 0.5222 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.00306, allocations: 4 kB / 0.5222 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.003101, allocations: 8.484 kB / 0.5222 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.003142, allocations: 4 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003154, allocations: 4.969 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.003298, allocations: 71.81 kB / 0.5223 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.00336, allocations: 13.05 kB / 0.5223 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.003398, allocations: 7.938 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.003537, allocations: 63.84 kB / 0.5224 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003539, allocations: 4.625 kB / 0.5224 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00354, allocations: 0 / 0.5224 GB, free: 15.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.003544, allocations: 1.375 kB / 0.5224 GB, free: 15.34 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003308/0.003875, allocations: 360.2 kB / 0.5227 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.003914, allocations: 12.03 kB / 0.5227 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.003956, allocations: 5.484 kB / 0.5228 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.004033, allocations: 108.6 kB / 0.5229 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004045, allocations: 4.969 kB / 0.5229 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004059, allocations: 5.688 kB / 0.5229 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.004165, allocations: 42.25 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004173, allocations: 4.188 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004183, allocations: 4.375 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.004196, allocations: 4.75 kB / 0.5229 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.571e-05/0.004212, allocations: 7.938 kB / 0.5229 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.004338, allocations: 118.1 kB / 0.523 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.004388, allocations: 31.05 kB / 0.5231 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.004407, allocations: 16.41 kB / 0.5231 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.004411, allocations: 0 / 0.5231 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.104e-05/0.004503, allocations: 61.84 kB / 0.5231 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 5.81e-07/0.004503, allocations: 0.8125 kB / 0.5231 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.004685, allocations: 77.61 kB / 0.5232 GB, free: 14.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.004727, allocations: 60.28 kB / 0.5233 GB, free: 14.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.004776, allocations: 150.2 kB / 0.5234 GB, free: 14.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.00479, allocations: 29.7 kB / 0.5234 GB, free: 14.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.004823, allocations: 133.6 kB / 0.5236 GB, free: 13.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.004847, allocations: 19.84 kB / 0.5236 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.004882, allocations: 35.36 kB / 0.5236 GB, free: 13.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.005013, allocations: 496.1 kB / 0.5241 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.005037, allocations: 15.98 kB / 0.5241 GB, free: 13.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.005087, allocations: 77.73 kB / 0.5242 GB, free: 13.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.005182, allocations: 96.91 kB / 0.5243 GB, free: 13.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005184, allocations: 0 / 0.5243 GB, free: 13.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000101/0.005285, allocations: 107.2 kB / 0.5244 GB, free: 13.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.005298, allocations: 4 kB / 0.5244 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.005304, allocations: 4 kB / 0.5244 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005316, allocations: 2.75 kB / 0.5244 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.005403, allocations: 23.98 kB / 0.5244 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.00541, allocations: 3.938 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.005433, allocations: 4 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.00544, allocations: 8 kB / 0.5244 GB, free: 13.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001031/0.005543, allocations: 175.2 kB / 0.5246 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.005551, allocations: 3.984 kB / 0.5246 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.005571, allocations: 3.969 kB / 0.5246 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005573, allocations: 0 / 0.5246 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.005579, allocations: 7.938 kB / 0.5246 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.005582, allocations: 0 / 0.5246 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.005664, allocations: 108.6 kB / 0.5247 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005665, allocations: 0 / 0.5247 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-06/0.005668, allocations: 5.281 kB / 0.5247 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005669, allocations: 0 / 0.5247 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.005681, allocations: 3.984 kB / 0.5247 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.005682, allocations: 0.8906 kB / 0.5247 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005683, allocations: 3.938 kB / 0.5247 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.042e-05/0.005773, allocations: 113 kB / 0.5248 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.005778, allocations: 0 / 0.5248 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.005797, allocations: 11.44 kB / 0.5248 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.005804, allocations: 0 / 0.5248 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.00583, allocations: 3.984 kB / 0.5249 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.005844, allocations: 7.938 kB / 0.5249 GB, free: 12.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.005873, allocations: 119.2 kB / 0.525 GB, free: 12.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.005873, allocations: 0 / 0.525 GB, free: 12.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.006039, allocations: 27.94 kB / 0.525 GB, free: 12.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001594/0.006199, allocations: 121.7 kB / 0.5251 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.006307, allocations: 51.59 kB / 0.5252 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006308, allocations: 0 / 0.5252 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.006329, allocations: 23.62 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.678e-05/0.006426, allocations: 4.812 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.006722, allocations: 112.7 kB / 0.5253 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.006756, allocations: 59.3 kB / 0.5254 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.006775, allocations: 7.984 kB / 0.5254 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.006797, allocations: 12.5 kB / 0.5254 GB, free: 11.92 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.006798, allocations: 2.438 kB / 0.5254 GB, free: 11.92 MB / 458.7 MB Notification: Performance of Templates: time 0.002525/0.009323, allocations: 0.7089 MB / 0.5261 GB, free: 11.3 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4834901930298656]