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.0007825/0.0007825, 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.000792/0.000792, 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.8696/0.8696, 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.718/0.718, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.903e-06/1.903e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.662e-05, allocations: 5 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001957/0.001973, allocations: 1.294 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.002617, allocations: 450.9 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.002646, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.34e-05/0.00273, allocations: 3.938 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.002787, allocations: 11.88 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.003043, allocations: 35.88 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.003114, allocations: 23.92 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.003152, allocations: 3.984 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.003192, allocations: 15.92 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.00326, allocations: 4 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.003272, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.003376, allocations: 47.88 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.003423, allocations: 19.92 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.003446, allocations: 8 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003557, allocations: 59.8 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003559, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.00356, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003564, 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.0002924/0.003856, allocations: 274.1 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.003896, allocations: 9.469 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.003928, allocations: 38.75 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.003952, allocations: 8.875 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.004064, allocations: 109.7 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.004072, allocations: 384 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.004082, allocations: 4.375 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.004176, allocations: 51.91 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.004186, allocations: 192 / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004196, allocations: 4.125 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004203, allocations: 4 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.004224, allocations: 7.938 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.004362, allocations: 145.6 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.004409, allocations: 41.22 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.004439, allocations: 21.7 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004449, allocations: 4 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.004471, allocations: 34.56 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004472, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.004599, allocations: 49.56 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.004635, allocations: 81.11 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.004721, allocations: 142 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.004731, allocations: 29.7 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.004762, allocations: 92.12 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.004777, allocations: 3.953 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.004808, allocations: 29.7 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.004885, allocations: 314.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.004921, allocations: 23.98 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.004944, allocations: 31.98 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.004993, allocations: 56.47 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004995, allocations: 0 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.194e-05/0.005077, allocations: 93.72 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.00509, allocations: 10.19 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.005106, allocations: 0 / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.005122, allocations: 11.92 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.00517, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005175, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.005195, allocations: 11.89 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.005202, allocations: 0 / 0.6217 GB, free: 9.77 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 5.864e-05/0.00526, allocations: 117.8 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.005266, allocations: 7.953 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.005282, allocations: 3.469 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005284, allocations: 3.938 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.005288, allocations: 8 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005291, allocations: 3.938 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.005356, allocations: 128.8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005356, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.005364, allocations: 7.938 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005366, allocations: 3.984 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005372, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005373, allocations: 3.938 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005374, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.986e-05/0.005423, allocations: 73.94 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.005428, allocations: 4.031 kB / 0.622 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.005437, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.005447, allocations: 7.938 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.005459, allocations: 4 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-07/0.00546, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.005499, allocations: 107.2 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005499, allocations: 0 / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001425/0.005641, allocations: 19.94 kB / 0.6222 GB, free: 9.188 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.0002647/0.005906, allocations: 0.625 MB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.00601, allocations: 77.56 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.006014, allocations: 4 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.00602, allocations: 7.984 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.006131, allocations: 0 / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.006889, allocations: 1.317 MB / 0.6242 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.00693, allocations: 67.34 kB / 0.6242 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.00695, allocations: 8.172 kB / 0.6242 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.006976, allocations: 12.5 kB / 0.6243 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.006977, allocations: 3.938 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.02289, allocations: 2.319 MB / 0.6265 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/6.859, allocations: 9.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.444950451143086] Failed to read output from testmodel.py, exit status != 0: 6.940132905729115 6.955133966 6.948708606 Calling exit ...