Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.001099/0.001099, 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.001357/0.001357, 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.8738/0.8738, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.6967/0.6967, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.38e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001529/0.001543, allocations: 1.274 MB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.005616, allocations: 4.125 MB / 0.6234 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.00564, allocations: 0 / 0.6234 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.005693, allocations: 7.922 kB / 0.6234 GB, free: 8.246 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.002205/0.007898, allocations: 1.604 MB / 0.625 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.285e-05/0.00794, allocations: 39.89 kB / 0.625 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.00799, allocations: 11.94 kB / 0.625 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.008025, allocations: 3.984 kB / 0.625 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.008054, allocations: 12 kB / 0.625 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.008097, allocations: 21.27 kB / 0.625 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.008108, allocations: 0 / 0.625 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.01019, allocations: 2.452 MB / 0.6274 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.01032, allocations: 254.2 kB / 0.6277 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.01046, allocations: 183.7 kB / 0.6278 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.01213, allocations: 2.549 MB / 0.6303 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01213, allocations: 4 kB / 0.6303 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.31e-07/0.01213, allocations: 0 / 0.6303 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.01214, allocations: 0 / 0.6303 GB, free: 1.105 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.001273/0.01341, allocations: 1.558 MB / 0.6319 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01344, allocations: 9.469 kB / 0.6319 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.01347, allocations: 30.75 kB / 0.6319 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.01358, allocations: 56.61 kB / 0.632 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.01403, allocations: 0.6266 MB / 0.6326 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.01404, allocations: 384 / 0.6326 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.01405, allocations: 4.375 kB / 0.6326 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.01424, allocations: 174 kB / 0.6327 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.01425, allocations: 4 kB / 0.6327 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.01425, allocations: 0 / 0.6327 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.01426, allocations: 0 / 0.6327 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.01439, allocations: 279.9 kB / 0.633 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.01476, allocations: 0.5473 MB / 0.6335 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.01485, allocations: 158.5 kB / 0.6337 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.01493, allocations: 144.9 kB / 0.6338 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.01493, allocations: 3.938 kB / 0.6338 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.01495, allocations: 38.5 kB / 0.6339 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.01495, allocations: 7.938 kB / 0.6339 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000393/0.01534, allocations: 0.4933 MB / 0.6344 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.01537, allocations: 51.41 kB / 0.6344 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.01595, allocations: 0.745 MB / 0.6351 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.01596, allocations: 25.7 kB / 0.6352 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.01605, allocations: 228.1 kB / 0.6354 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.01607, allocations: 3.938 kB / 0.6354 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.01609, allocations: 17.72 kB / 0.6354 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.01618, allocations: 366.8 kB / 0.6358 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.01625, allocations: 140.1 kB / 0.6359 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.01631, allocations: 143.9 kB / 0.636 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.01645, allocations: 288.7 kB / 0.6363 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01646, allocations: 4 kB / 0.6363 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002579/0.01671, allocations: 365.2 kB / 0.6366 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01673, allocations: 11.94 kB / 0.6367 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01673, allocations: 0 / 0.6367 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.01674, allocations: 0 / 0.6367 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.01679, allocations: 3.984 kB / 0.6367 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.01679, allocations: 4.094 kB / 0.6367 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01693, allocations: 48 kB / 0.6367 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.01694, allocations: 4 kB / 0.6367 GB, free: 10.37 MB / 0.6042 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 (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 0.0001144/0.01705, allocations: 205.8 kB / 0.6369 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.01715, allocations: 59.61 kB / 0.637 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.01738, allocations: 380.9 kB / 0.6373 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01738, allocations: 0 / 0.6373 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01739, allocations: 0 / 0.6373 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.01739, allocations: 0 / 0.6373 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.01763, allocations: 416.6 kB / 0.6377 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.01764, allocations: 15.95 kB / 0.6377 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.01764, allocations: 0 / 0.6377 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01764, allocations: 3.938 kB / 0.6378 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.01765, allocations: 0 / 0.6378 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01765, allocations: 0 / 0.6378 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.01765, allocations: 0 / 0.6378 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.01791, allocations: 388.7 kB / 0.6381 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.01814, allocations: 275.4 kB / 0.6384 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.01821, allocations: 19.88 kB / 0.6384 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01834, allocations: 48 kB / 0.6384 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.01835, allocations: 0 / 0.6384 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.01835, allocations: 4.031 kB / 0.6385 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004448/0.0188, allocations: 0.5768 MB / 0.639 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.0188, allocations: 0 / 0.639 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007733/0.01957, allocations: 0.5804 MB / 0.6396 GB, free: 7.355 MB / 0.6042 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 (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00179/0.02136, allocations: 1.867 MB / 0.6414 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.02155, allocations: 283.9 kB / 0.6417 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02156, allocations: 4.062 kB / 0.6417 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.02164, allocations: 169.6 kB / 0.6418 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.02187, allocations: 54.31 kB / 0.6419 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.02771, allocations: 7.554 MB / 0.6493 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02783, allocations: 210.4 kB / 0.6495 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005925/0.02842, allocations: 450.1 kB / 0.6499 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.02886, allocations: 432.3 kB / 0.6503 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.02886, allocations: 0 / 0.6503 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.06387, allocations: 27.37 MB / 0.677 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.445, allocations: 5.266 kB / 0.677 GB, free: 1.125 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.25648962520063] Failed to read output from testmodel.py, exit status != 0: 7.781423920765519 7.789453763 7.775806236 Calling exit ...