Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007281/0.0007281, 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.0007881/0.0007881, 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.8255/0.8255, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001377/0.001377, allocations: 234.9 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6603/0.6603, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_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.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.428e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001424/0.001438, allocations: 1.283 MB / 0.6476 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2279/0.2294, allocations: 4.123 MB / 0.6516 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2294, allocations: 0.5938 kB / 0.6516 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.2294, allocations: 0.5625 kB / 0.6516 GB, free: 54.87 MB / 0.5573 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/BuildingSystems master/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.002764/0.2322, allocations: 1.595 MB / 0.6532 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.182e-05/0.2323, allocations: 35.91 kB / 0.6532 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.2323, allocations: 13.73 kB / 0.6532 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.2323, allocations: 1.453 kB / 0.6532 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.2324, allocations: 6.75 kB / 0.6532 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.2324, allocations: 23.62 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.2324, allocations: 1.844 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.2348, allocations: 2.428 MB / 0.6556 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2349, allocations: 259.2 kB / 0.6559 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.235, allocations: 186.5 kB / 0.6561 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.2371, allocations: 2.539 MB / 0.6585 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2371, allocations: 0 / 0.6585 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2371, allocations: 0 / 0.6585 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2371, allocations: 0 / 0.6585 GB, free: 52.8 MB / 0.5573 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.001467/0.2386, allocations: 1.559 MB / 0.6601 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2386, allocations: 10.14 kB / 0.6601 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.479e-05/0.2386, allocations: 30.75 kB / 0.6601 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2388, allocations: 60.45 kB / 0.6602 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.2393, allocations: 0.6305 MB / 0.6608 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2393, allocations: 384 / 0.6608 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2393, allocations: 6.344 kB / 0.6608 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.2395, allocations: 168.7 kB / 0.6609 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2395, allocations: 2.344 kB / 0.6609 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2395, allocations: 5.156 kB / 0.6609 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2395, allocations: 0.6562 kB / 0.6609 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2397, allocations: 277.7 kB / 0.6612 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.2401, allocations: 0.5444 MB / 0.6617 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2403, allocations: 158.2 kB / 0.6619 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2404, allocations: 152 kB / 0.662 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2404, allocations: 0.75 kB / 0.662 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2404, allocations: 36.47 kB / 0.6621 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2404, allocations: 1.219 kB / 0.6621 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0005118/0.2409, allocations: 0.496 MB / 0.6626 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.2409, allocations: 51.41 kB / 0.6626 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.2416, allocations: 0.7417 MB / 0.6633 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.2416, allocations: 26.3 kB / 0.6634 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.2417, allocations: 229.3 kB / 0.6636 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2417, allocations: 0 / 0.6636 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.2417, allocations: 21.92 kB / 0.6636 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.2418, allocations: 361.2 kB / 0.6639 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.2418, allocations: 148 kB / 0.6641 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.2419, allocations: 143.5 kB / 0.6642 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2421, allocations: 283.1 kB / 0.6645 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2421, allocations: 0.7812 kB / 0.6645 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002911/0.2424, allocations: 371.5 kB / 0.6648 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2424, allocations: 7.938 kB / 0.6649 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.2424, allocations: 0 / 0.6649 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2424, allocations: 3.922 kB / 0.6649 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.2425, allocations: 4.906 kB / 0.6649 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2425, allocations: 1.375 kB / 0.6649 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.2426, allocations: 53.06 kB / 0.6649 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2426, allocations: 1.875 kB / 0.6649 GB, free: 50.4 MB / 0.5573 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.0001059/0.2427, allocations: 214.2 kB / 0.6651 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2428, allocations: 65.89 kB / 0.6652 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2431, allocations: 369.1 kB / 0.6655 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2431, allocations: 0 / 0.6655 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2431, allocations: 0 / 0.6655 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2431, allocations: 0 / 0.6655 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2433, allocations: 423.4 kB / 0.6659 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2433, allocations: 0 / 0.6659 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.2433, allocations: 0 / 0.6659 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2433, allocations: 3.938 kB / 0.6659 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2433, allocations: 0 / 0.6659 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2433, allocations: 6.875 kB / 0.666 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.2433, allocations: 0 / 0.666 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2436, allocations: 393 kB / 0.6663 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2438, allocations: 276.5 kB / 0.6666 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.2438, allocations: 14.97 kB / 0.6666 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.244, allocations: 46.72 kB / 0.6666 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.244, allocations: 0 / 0.6666 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.244, allocations: 0 / 0.6666 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003882/0.2444, allocations: 0.5711 MB / 0.6672 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2444, allocations: 4 kB / 0.6672 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00102/0.2454, allocations: 0.5865 MB / 0.6678 GB, free: 49.54 MB / 0.5573 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.001774/0.2472, allocations: 1.858 MB / 0.6696 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.2474, allocations: 286.6 kB / 0.6699 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2474, allocations: 0 / 0.6699 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2476, allocations: 165.5 kB / 0.67 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2478, allocations: 56.69 kB / 0.6701 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.2542, allocations: 7.562 MB / 0.6775 GB, free: 46.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2544, allocations: 213.5 kB / 0.6777 GB, free: 46.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005935/0.255, allocations: 448.8 kB / 0.6781 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.2554, allocations: 429.2 kB / 0.6785 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2554, allocations: 4 kB / 0.6785 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.2935, allocations: 27.34 MB / 0.7052 GB, free: 31.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.134, allocations: 5.859 kB / 0.7052 GB, free: 31.19 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.45971245598048] Failed to read output from testmodel.py, exit status != 0: 7.241086198948324 7.249597449 7.010981507 Calling exit ...