Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001311/0.001311, 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.001252/0.001252, 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.8639/0.8639, 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/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9506 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.228e-05, allocations: 5.656 kB / 0.9506 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001732/0.001754, allocations: 0.5567 MB / 0.9511 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006506/0.00826, allocations: 4.838 MB / 0.9558 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.008286, allocations: 0 / 0.9558 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.008344, allocations: 4 kB / 0.9558 GB, free: 12.88 MB / 0.8698 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.003929/0.01227, allocations: 1.586 MB / 0.9574 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 9.235e-05/0.01236, allocations: 35.91 kB / 0.9574 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.01242, allocations: 4 kB / 0.9574 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.01247, allocations: 3.984 kB / 0.9574 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.0125, allocations: 11.97 kB / 0.9574 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.01254, allocations: 4 kB / 0.9574 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.01255, allocations: 0 / 0.9574 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.01607, allocations: 2.429 MB / 0.9598 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.01623, allocations: 197 kB / 0.96 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.01642, allocations: 147.6 kB / 0.9601 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.01991, allocations: 2.463 MB / 0.9625 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01992, allocations: 0 / 0.9625 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01992, allocations: 3.938 kB / 0.9626 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.01993, allocations: 0 / 0.9626 GB, free: 5.984 MB / 0.8698 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.002135/0.02206, allocations: 1.511 MB / 0.964 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.02211, allocations: 8.031 kB / 0.964 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.02214, allocations: 30.75 kB / 0.9641 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.02233, allocations: 60.66 kB / 0.9641 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.02302, allocations: 0.6343 MB / 0.9647 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.02304, allocations: 384 / 0.9647 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.02305, allocations: 384 / 0.9647 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.02324, allocations: 181.8 kB / 0.9649 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.02325, allocations: 0 / 0.9649 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.02325, allocations: 0 / 0.9649 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.02326, allocations: 0 / 0.9649 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.02345, allocations: 283.9 kB / 0.9652 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.02404, allocations: 0.5396 MB / 0.9657 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.02418, allocations: 162.5 kB / 0.9659 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.02426, allocations: 148.9 kB / 0.966 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.02427, allocations: 3.938 kB / 0.966 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.0243, allocations: 38.5 kB / 0.9661 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.0243, allocations: 0 / 0.9661 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0004232/0.02472, allocations: 0.4895 MB / 0.9665 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.02475, allocations: 51.41 kB / 0.9666 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.02537, allocations: 0.7411 MB / 0.9673 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.02538, allocations: 29.7 kB / 0.9673 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.02549, allocations: 224.1 kB / 0.9675 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.02552, allocations: 12.08 kB / 0.9676 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.02554, allocations: 9.719 kB / 0.9676 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.02564, allocations: 362.8 kB / 0.9679 GB, free: 312 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.02572, allocations: 143.9 kB / 0.968 GB, free: 168 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.02579, allocations: 143.9 kB / 0.9682 GB, free: 24 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.02595, allocations: 288.8 kB / 0.9685 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02595, allocations: 0 / 0.9685 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002797/0.02623, allocations: 369.2 kB / 0.9688 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.02625, allocations: 7.938 kB / 0.9688 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.02625, allocations: 4.094 kB / 0.9688 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.02627, allocations: 0 / 0.9688 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.02633, allocations: 4 kB / 0.9688 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.02633, allocations: 3.984 kB / 0.9688 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.02646, allocations: 48 kB / 0.9689 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.02647, allocations: 0 / 0.9689 GB, free: 15.3 MB / 0.8855 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.0001237/0.02659, allocations: 201.8 kB / 0.9691 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.0267, allocations: 63.59 kB / 0.9691 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.02694, allocations: 376.9 kB / 0.9695 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02695, allocations: 0 / 0.9695 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.02695, allocations: 4.031 kB / 0.9695 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.02695, allocations: 3.938 kB / 0.9695 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.02722, allocations: 420.6 kB / 0.9699 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02722, allocations: 0 / 0.9699 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.02722, allocations: 3.984 kB / 0.9699 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.02723, allocations: 3.938 kB / 0.9699 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.02723, allocations: 4 kB / 0.9699 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.02723, allocations: 0 / 0.9699 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02724, allocations: 3.984 kB / 0.9699 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.02753, allocations: 400.6 kB / 0.9703 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.02778, allocations: 271.5 kB / 0.9706 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.02785, allocations: 15.94 kB / 0.9706 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.02798, allocations: 48 kB / 0.9706 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.02799, allocations: 4 kB / 0.9706 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.02799, allocations: 0 / 0.9706 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004675/0.02846, allocations: 0.569 MB / 0.9712 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.02846, allocations: 0 / 0.9712 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001184/0.02964, allocations: 0.5725 MB / 0.9717 GB, free: 12.3 MB / 0.8855 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.002175/0.03182, allocations: 1.859 MB / 0.9736 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.03202, allocations: 283.8 kB / 0.9738 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03202, allocations: 0 / 0.9738 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.03212, allocations: 169.6 kB / 0.974 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.03233, allocations: 50.31 kB / 0.974 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.03832, allocations: 7.555 MB / 0.9814 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.03844, allocations: 222.4 kB / 0.9816 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006037/0.03904, allocations: 441.8 kB / 0.982 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.0395, allocations: 436.2 kB / 0.9825 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/0.0395, allocations: 0 / 0.9825 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.07972, allocations: 27.14 MB / 1.009 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.706, allocations: 3.75 kB / 1.009 GB, free: 6.281 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.12195304222405] Failed to read output from testmodel.py, exit status != 0: 7.818498277105391 8.288684282 8.265638938 Calling exit ...