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.001305/0.001305, allocations: 81.31 kB / 19.18 MB, free: 2.512 MB / 14.72 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.00145/0.00145, allocations: 169.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.401/1.401, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.166/1.166, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.894e-05, allocations: 2.906 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002439/0.002478, allocations: 1.296 MB / 0.6198 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.003339, allocations: 456.3 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.003369, allocations: 0 / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.003439, allocations: 3.938 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.003496, allocations: 4.5 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.00376, allocations: 49.16 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.003839, allocations: 19.92 kB / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.003874, allocations: 3.984 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.00392, allocations: 19.98 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.003989, allocations: 7.938 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.004002, allocations: 4 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.004124, allocations: 39.94 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.004173, allocations: 19.92 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.004205, allocations: 8 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004346, allocations: 67.73 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004349, allocations: 0 / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00435, allocations: 0 / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.004359, allocations: 0 / 0.6205 GB, free: 2.594 MB / 0.5294 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.0003771/0.004736, allocations: 278.1 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.004771, allocations: 13.47 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.004799, allocations: 8.828 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.004946, allocations: 113.8 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.004955, allocations: 384 / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.004968, allocations: 384 / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.005064, allocations: 43.98 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005071, allocations: 192 / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00508, allocations: 4.359 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005086, allocations: 7.938 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.005109, allocations: 7.938 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.005266, allocations: 130.2 kB / 0.6211 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.005325, allocations: 33.16 kB / 0.6211 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.005365, allocations: 25.77 kB / 0.6212 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.005375, allocations: 3.938 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.0054, allocations: 34.56 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005401, allocations: 0 / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.005539, allocations: 53.58 kB / 0.6212 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.005589, allocations: 81.05 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.005716, allocations: 140.7 kB / 0.6215 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.005735, allocations: 29.7 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.005781, allocations: 88.12 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.005797, allocations: 7.938 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.005841, allocations: 29.7 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.005982, allocations: 318.8 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.006027, allocations: 23.98 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.006064, allocations: 31.98 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.00613, allocations: 40.84 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006132, allocations: 0 / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.006267, allocations: 99.94 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.006279, allocations: 8 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.006295, allocations: 4 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.006309, allocations: 0 / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.006353, allocations: 4 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.006366, allocations: 3.938 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.006395, allocations: 7.891 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006402, allocations: 0 / 0.6221 GB, free: 0.7578 MB / 0.5294 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 8.66e-05/0.006489, allocations: 121.8 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.006499, allocations: 3.953 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.006522, allocations: 7.422 kB / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.006526, allocations: 8 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.006533, allocations: 3.938 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006535, allocations: 0 / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.979e-05/0.006635, allocations: 109.3 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006635, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.006655, allocations: 4 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006657, allocations: 4.031 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.006666, allocations: 3.984 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006667, allocations: 0 / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.00667, allocations: 4 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.944e-05/0.00677, allocations: 81.92 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.006781, allocations: 7.891 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.006797, allocations: 7.984 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.78e-05/0.006815, allocations: 0 / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.006834, allocations: 7.938 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.006836, allocations: 3.938 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.006904, allocations: 99.27 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.006904, allocations: 0 / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002112/0.007116, allocations: 16 kB / 0.6226 GB, free: 208 kB / 0.5294 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.0001928/0.007308, allocations: 127.1 kB / 0.6227 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.00748, allocations: 77.73 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007483, allocations: 0 / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.007498, allocations: 7.938 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.007643, allocations: 2.5 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.007941, allocations: 145.5 kB / 0.6229 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.008011, allocations: 79.23 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.00803, allocations: 0 / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.008049, allocations: 12.62 kB / 0.623 GB, free: 15.7 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.008049, allocations: 4 kB / 0.623 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Templates: time 0.003104/0.01115, allocations: 0.521 MB / 0.6235 GB, free: 15.22 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.480535093694925] Failed to read output from testmodel.py, exit status != 0: 0.019601184874773026 0.034232438000000004 0.026813372000000002 Calling exit ...