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.0008413/0.0008413, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008341/0.0008341, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9312/0.9312, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.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.7696/0.7696, allocations: 203.8 MB / 0.5042 GB, free: 10.36 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00089/0.00089, allocations: 62.91 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4957, allocations: 102 MB / 0.8178 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001816/0.4975, allocations: 1.282 MB / 0.8191 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.5026, allocations: 4.138 MB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.5026, allocations: 0 / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.5027, allocations: 1.688 kB / 0.8231 GB, free: 13.42 MB / 0.6198 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.004192/0.5068, allocations: 1.602 MB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.812e-05/0.5069, allocations: 31.58 kB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.507, allocations: 16.94 kB / 0.8247 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.5071, allocations: 7.391 kB / 0.8247 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.5071, allocations: 10.27 kB / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.5071, allocations: 18.42 kB / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.5071, allocations: 0 / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.5113, allocations: 2.449 MB / 0.8272 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.5116, allocations: 241.2 kB / 0.8274 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.5118, allocations: 217.2 kB / 0.8276 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.5172, allocations: 2.213 MB / 0.8298 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5172, allocations: 0.75 kB / 0.8298 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5172, allocations: 3.938 kB / 0.8298 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5172, allocations: 1.156 kB / 0.8298 GB, free: 11.45 MB / 0.6198 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.002804/0.52, allocations: 1.457 MB / 0.8312 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.52, allocations: 9.375 kB / 0.8312 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.5201, allocations: 31.59 kB / 0.8312 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.5203, allocations: 48.45 kB / 0.8313 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.5209, allocations: 0.5833 MB / 0.8318 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5209, allocations: 384 / 0.8318 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.521, allocations: 8.844 kB / 0.8319 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.5212, allocations: 168.3 kB / 0.832 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.5212, allocations: 0 / 0.832 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5212, allocations: 0 / 0.832 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.5212, allocations: 1.062 kB / 0.832 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.5214, allocations: 287.8 kB / 0.8323 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.522, allocations: 0.5057 MB / 0.8328 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.5221, allocations: 160.2 kB / 0.8329 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5223, allocations: 149.8 kB / 0.8331 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.5223, allocations: 0 / 0.8331 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5223, allocations: 32.95 kB / 0.8331 GB, free: 10 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5223, allocations: 0 / 0.8331 GB, free: 10 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0005821/0.5229, allocations: 497.6 kB / 0.8336 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5229, allocations: 52.56 kB / 0.8336 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.5237, allocations: 0.7014 MB / 0.8343 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5237, allocations: 27.02 kB / 0.8343 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5238, allocations: 222.7 kB / 0.8346 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5239, allocations: 8.875 kB / 0.8346 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.5239, allocations: 11.91 kB / 0.8346 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.524, allocations: 362.3 kB / 0.8349 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.794e-05/0.5241, allocations: 141.9 kB / 0.8351 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5242, allocations: 141.5 kB / 0.8352 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.5244, allocations: 289.2 kB / 0.8355 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5244, allocations: 0 / 0.8355 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003689/0.5248, allocations: 369.9 kB / 0.8358 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5248, allocations: 5.625 kB / 0.8358 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5248, allocations: 0 / 0.8358 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5248, allocations: 1.219 kB / 0.8358 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.5249, allocations: 9.219 kB / 0.8358 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5249, allocations: 0 / 0.8358 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.5251, allocations: 33.02 kB / 0.8359 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.5251, allocations: 1.125 kB / 0.8359 GB, free: 8.781 MB / 0.6198 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.0001743/0.5252, allocations: 211.9 kB / 0.8361 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5254, allocations: 42.78 kB / 0.8361 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.5258, allocations: 378.1 kB / 0.8365 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5258, allocations: 5.062 kB / 0.8365 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5258, allocations: 0 / 0.8365 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5258, allocations: 1.312 kB / 0.8365 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.5262, allocations: 414.8 kB / 0.8369 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5263, allocations: 1.125 kB / 0.8369 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.5263, allocations: 1.062 kB / 0.8369 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5263, allocations: 0 / 0.8369 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.5263, allocations: 8.859 kB / 0.8369 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5263, allocations: 0 / 0.8369 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5263, allocations: 5.062 kB / 0.8369 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.5267, allocations: 387.8 kB / 0.8373 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.527, allocations: 265.2 kB / 0.8375 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.5271, allocations: 0 / 0.8375 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5272, allocations: 29.44 kB / 0.8375 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.5273, allocations: 1.312 kB / 0.8375 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.5273, allocations: 0 / 0.8375 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005581/0.5278, allocations: 0.5313 MB / 0.8381 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5278, allocations: 0 / 0.8381 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002462/0.5303, allocations: 0.5785 MB / 0.8386 GB, free: 7.59 MB / 0.6198 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.00312/0.5334, allocations: 1.761 MB / 0.8403 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.5337, allocations: 284.1 kB / 0.8406 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5337, allocations: 0 / 0.8406 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5338, allocations: 172.7 kB / 0.8408 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.5342, allocations: 35.75 kB / 0.8408 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.5418, allocations: 7.187 MB / 0.8478 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.5419, allocations: 215.2 kB / 0.848 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006818/0.5426, allocations: 445 kB / 0.8485 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.5431, allocations: 373.3 kB / 0.8488 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.412e-06/0.5431, allocations: 0 / 0.8488 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04762/0.5908, allocations: 27.07 MB / 0.8753 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.888, allocations: 9.25 kB / 0.8753 GB, free: 10.53 MB / 0.6511 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.780642929952592] Failed to read output from testmodel.py, exit status != 0: 7.9915644018910825 8.008248051 7.48801134 Calling exit ...