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.0007915/0.0007915, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.001093/0.001093, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9532/0.9532, allocations: 230.6 MB / 256 MB, free: 9.805 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.8118/0.8118, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.000979/0.000979, allocations: 64.19 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4961, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001831/0.498, allocations: 1.279 MB / 0.8192 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00526/0.5032, allocations: 4.585 MB / 0.8236 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.5033, allocations: 4 kB / 0.8236 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.5034, allocations: 1.219 kB / 0.8236 GB, free: 13.31 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.004393/0.5078, allocations: 1.619 MB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.884e-05/0.5079, allocations: 35.23 kB / 0.8253 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.5079, allocations: 9.594 kB / 0.8253 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.508, allocations: 1.781 kB / 0.8253 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.508, allocations: 12.84 kB / 0.8253 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.5081, allocations: 25.64 kB / 0.8253 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.5081, allocations: 4 kB / 0.8253 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.5124, allocations: 2.723 MB / 0.828 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.5126, allocations: 242 kB / 0.8282 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.5128, allocations: 244.4 kB / 0.8284 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00443/0.5172, allocations: 2.25 MB / 0.8306 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5172, allocations: 4 kB / 0.8306 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5172, allocations: 0 / 0.8306 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5173, allocations: 1.156 kB / 0.8306 GB, free: 11.06 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.002805/0.5201, allocations: 1.457 MB / 0.8321 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.518e-05/0.5201, allocations: 9.469 kB / 0.8321 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.5202, allocations: 36.58 kB / 0.8321 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.5205, allocations: 44.25 kB / 0.8321 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.5213, allocations: 0.5855 MB / 0.8327 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5213, allocations: 1.5 kB / 0.8327 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5214, allocations: 7.938 kB / 0.8327 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.5216, allocations: 168.6 kB / 0.8329 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5217, allocations: 0 / 0.8329 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.5217, allocations: 4.688 kB / 0.8329 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.5217, allocations: 5.125 kB / 0.8329 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.5219, allocations: 279.2 kB / 0.8332 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.5228, allocations: 0.5065 MB / 0.8337 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.5229, allocations: 160.1 kB / 0.8338 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.523, allocations: 149 kB / 0.8339 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.523, allocations: 0 / 0.8339 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5231, allocations: 36.27 kB / 0.834 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.5231, allocations: 3.938 kB / 0.834 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0005367/0.5236, allocations: 496.8 kB / 0.8345 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.5236, allocations: 52.2 kB / 0.8345 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.5244, allocations: 0.6944 MB / 0.8352 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5244, allocations: 29.83 kB / 0.8352 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5245, allocations: 231.7 kB / 0.8354 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5245, allocations: 3.953 kB / 0.8354 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.5246, allocations: 12.47 kB / 0.8355 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5247, allocations: 366 kB / 0.8358 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.5248, allocations: 138.5 kB / 0.8359 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.5249, allocations: 140.2 kB / 0.8361 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.5251, allocations: 293.2 kB / 0.8363 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5251, allocations: 0 / 0.8363 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003546/0.5254, allocations: 366.2 kB / 0.8367 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5254, allocations: 8.125 kB / 0.8367 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5254, allocations: 0 / 0.8367 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5255, allocations: 0 / 0.8367 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.5255, allocations: 10.11 kB / 0.8367 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5255, allocations: 0 / 0.8367 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5257, allocations: 28.72 kB / 0.8367 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5257, allocations: 1.344 kB / 0.8367 GB, free: 8.391 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.0001488/0.5258, allocations: 210.5 kB / 0.8369 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.526, allocations: 43.84 kB / 0.837 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.5263, allocations: 378.5 kB / 0.8373 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5263, allocations: 0 / 0.8373 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5263, allocations: 0 / 0.8373 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5263, allocations: 1.438 kB / 0.8373 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.5267, allocations: 415.6 kB / 0.8377 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5267, allocations: 1.281 kB / 0.8377 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.5267, allocations: 4 kB / 0.8377 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.5267, allocations: 4.031 kB / 0.8378 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5267, allocations: 1.094 kB / 0.8378 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5267, allocations: 0 / 0.8378 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5267, allocations: 1.375 kB / 0.8378 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.527, allocations: 386.4 kB / 0.8381 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.5273, allocations: 261.1 kB / 0.8384 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.5274, allocations: 5.219 kB / 0.8384 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5275, allocations: 36 kB / 0.8384 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.5275, allocations: 1.25 kB / 0.8384 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5275, allocations: 1.156 kB / 0.8384 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005243/0.5281, allocations: 0.5339 MB / 0.8389 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5281, allocations: 0 / 0.8389 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002252/0.5303, allocations: 0.5793 MB / 0.8395 GB, free: 7.195 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.003088/0.5334, allocations: 1.734 MB / 0.8412 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.5337, allocations: 288.7 kB / 0.8415 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.5337, allocations: 1.562 kB / 0.8415 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5338, allocations: 168.1 kB / 0.8416 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.5343, allocations: 39.33 kB / 0.8417 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.5423, allocations: 7.193 MB / 0.8487 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.5427, allocations: 0.8195 MB / 0.8495 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007508/0.5434, allocations: 445.8 kB / 0.8499 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.544, allocations: 373.7 kB / 0.8503 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.544, allocations: 1.062 kB / 0.8503 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.5948, allocations: 26.1 MB / 0.8758 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.746, allocations: 14.38 kB / 0.8758 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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.74909085012041] Failed to read output from testmodel.py, exit status != 0: 7.849751392845064 7.859403988 7.340183588 Calling exit ...