Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001952/0.001952, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 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.00192/0.00192, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.365/1.365, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002544/0.002544, allocations: 284.6 kB / 309.8 MB, free: 3.492 MB / 238.1 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.9892/0.9892, allocations: 180.6 MB / 0.5338 GB, free: 12.33 MB / 398.1 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.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002718/0.002718, allocations: 100.4 kB / 0.7347 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4708, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001545/0.4724, allocations: 0.5762 MB / 0.8284 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.4734, allocations: 1.033 MB / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.4734, allocations: 0 / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.4734, allocations: 0 / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.4741, allocations: 97.97 kB / 0.8295 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.855e-05/0.4741, allocations: 8.172 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.4741, allocations: 7.078 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.4742, allocations: 3.516 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.4742, allocations: 3.062 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.4744, allocations: 33.8 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.4744, allocations: 4 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.4745, allocations: 77.61 kB / 0.8296 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.4745, allocations: 1.75 kB / 0.8296 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.4746, allocations: 6.156 kB / 0.8296 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.4747, allocations: 70.02 kB / 0.8297 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4747, allocations: 3.219 kB / 0.8297 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4747, allocations: 0 / 0.8297 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.4747, allocations: 0 / 0.8297 GB, free: 1.801 MB / 0.5762 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.0002328/0.4749, allocations: 328.9 kB / 0.83 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.475, allocations: 8.562 kB / 0.83 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.2e-05/0.475, allocations: 8.188 kB / 0.83 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.559e-05/0.475, allocations: 39.14 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.475, allocations: 3.781 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.4751, allocations: 166.4 kB / 0.8302 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.4751, allocations: 1.406 kB / 0.8302 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-06/0.4751, allocations: 4.125 kB / 0.8302 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.4752, allocations: 30.8 kB / 0.8303 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.4752, allocations: 0 / 0.8303 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.4752, allocations: 8 kB / 0.8303 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4752, allocations: 0 / 0.8303 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.4752, allocations: 3.344 kB / 0.8303 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.4755, allocations: 470.1 kB / 0.8307 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.4755, allocations: 172.9 kB / 0.8309 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.4755, allocations: 84.14 kB / 0.831 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.4755, allocations: 75.28 kB / 0.831 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4756, allocations: 106.5 kB / 0.8311 GB, free: 184 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4756, allocations: 0 / 0.8311 GB, free: 184 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 5.877e-05/0.4756, allocations: 37.58 kB / 0.8312 GB, free: 144 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.4757, allocations: 130.6 kB / 0.8313 GB, free: 0 / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4758, allocations: 104.8 kB / 0.8314 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4758, allocations: 29.7 kB / 0.8314 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.4758, allocations: 83.25 kB / 0.8315 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.4758, allocations: 0 / 0.8315 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4758, allocations: 11.64 kB / 0.8315 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.476, allocations: 321.4 kB / 0.8318 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.476, allocations: 0 / 0.8318 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.476, allocations: 2.906 kB / 0.8318 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.476, allocations: 12.69 kB / 0.8318 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.476, allocations: 0 / 0.8318 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.558e-05/0.4761, allocations: 35.17 kB / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4761, allocations: 6.062 kB / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4761, allocations: 0 / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4761, allocations: 0 / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-05/0.4761, allocations: 2.172 kB / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4761, allocations: 0 / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.4762, allocations: 2.906 kB / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.4762, allocations: 0 / 0.8319 GB, free: 15.39 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * 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 9.652e-05/0.4763, allocations: 201.3 kB / 0.8321 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.4763, allocations: 104.5 kB / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.4764, allocations: 109.3 kB / 0.8323 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-05/0.4764, allocations: 178 kB / 0.8325 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-05/0.4765, allocations: 183.4 kB / 0.8326 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/0.4766, allocations: 181.5 kB / 0.8328 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.4768, allocations: 406.2 kB / 0.8332 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/0.4768, allocations: 105.4 kB / 0.8333 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.4769, allocations: 104.4 kB / 0.8334 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.4769, allocations: 181 kB / 0.8336 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.477, allocations: 180.8 kB / 0.8337 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.708e-05/0.4771, allocations: 182.2 kB / 0.8339 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.335e-05/0.4772, allocations: 187.6 kB / 0.8341 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.4773, allocations: 308.4 kB / 0.8344 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.4774, allocations: 187.6 kB / 0.8346 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.4775, allocations: 184.4 kB / 0.8347 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.4775, allocations: 109.6 kB / 0.8348 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.4776, allocations: 177 kB / 0.835 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4776, allocations: 107.2 kB / 0.8351 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.4777, allocations: 84.2 kB / 0.8352 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.4777, allocations: 0 / 0.8352 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002332/0.4779, allocations: 21.12 kB / 0.8352 GB, free: 11.83 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006302/0.4786, allocations: 0.8722 MB / 0.8361 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.4786, allocations: 5.25 kB / 0.8361 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4786, allocations: 0 / 0.8361 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4786, allocations: 1.438 kB / 0.8361 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.479, allocations: 461.6 kB / 0.8365 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.4795, allocations: 241.4 kB / 0.8367 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4797, allocations: 0.6784 MB / 0.8374 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.22e-05/0.4798, allocations: 3.594 kB / 0.8374 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4798, allocations: 8.234 kB / 0.8374 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.4798, allocations: 0.9375 kB / 0.8374 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.4967, allocations: 1.644 MB / 0.839 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.168, allocations: 3.156 kB / 0.839 GB, free: 9.18 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.8162996119936] Failed to read output from testmodel.py, exit status != 0: 8.289381449983921 8.310924923 7.83211111 Calling exit ...