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.001467/0.001467, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00163/0.00163, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.00238/0.00238, allocations: 297.9 kB / 313.5 MB, free: 2.621 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 1.141/1.141, allocations: 180.6 MB / 0.5377 GB, free: 14.59 MB / 382.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.002714/0.002714, allocations: 95.33 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1632, allocations: 95.4 MB / 0.8335 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001902/0.1651, allocations: 0.5823 MB / 0.834 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1665, allocations: 1.001 MB / 0.835 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1665, allocations: 0 / 0.835 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1665, allocations: 4 kB / 0.835 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.1672, allocations: 103.8 kB / 0.8351 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.039e-05/0.1673, allocations: 11.92 kB / 0.8351 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.1673, allocations: 15.86 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1674, allocations: 0 / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1674, allocations: 4 kB / 0.8351 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1676, allocations: 32.25 kB / 0.8352 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1676, allocations: 0 / 0.8352 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1678, allocations: 83.91 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.1678, allocations: 0 / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1678, allocations: 7.938 kB / 0.8353 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.168, allocations: 79.78 kB / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.168, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.168, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.168, allocations: 0 / 0.8353 GB, free: 6.383 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.0003414/0.1684, allocations: 258.3 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1684, allocations: 9.938 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.1684, allocations: 192 / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1684, allocations: 30.75 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.1685, allocations: 8.875 kB / 0.8356 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1686, allocations: 110.5 kB / 0.8357 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-06/0.1686, allocations: 384 / 0.8357 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1686, allocations: 8.125 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.1687, allocations: 25.7 kB / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1687, allocations: 0 / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1687, allocations: 4 kB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1687, allocations: 0 / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.1687, allocations: 7.938 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1691, allocations: 358.6 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1692, allocations: 169.1 kB / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.1693, allocations: 84.14 kB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1693, allocations: 83.27 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.1694, allocations: 105.8 kB / 0.8365 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 3.246e-06/0.1694, allocations: 3.984 kB / 0.8365 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.138e-05/0.1694, allocations: 37.59 kB / 0.8366 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.1695, allocations: 130.7 kB / 0.8367 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1696, allocations: 93.86 kB / 0.8368 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1696, allocations: 29.69 kB / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1697, allocations: 84.14 kB / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.1697, allocations: 0 / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1697, allocations: 13.72 kB / 0.8369 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1699, allocations: 318.8 kB / 0.8372 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.1699, allocations: 4 kB / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.1699, allocations: 0 / 0.8372 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.1699, allocations: 12.8 kB / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1699, allocations: 0 / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.17, allocations: 41.62 kB / 0.8373 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.17, allocations: 4 kB / 0.8373 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.17, allocations: 4 kB / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1701, allocations: 0 / 0.8373 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.729e-05/0.1701, allocations: 4.094 kB / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1701, allocations: 0 / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.1701, allocations: 0 / 0.8373 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1701, allocations: 0 / 0.8373 GB, free: 4.184 MB / 0.5762 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 0.0001063/0.1702, allocations: 189.1 kB / 0.8375 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.1703, allocations: 101 kB / 0.8376 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.1703, allocations: 115.8 kB / 0.8377 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-05/0.1704, allocations: 188.3 kB / 0.8379 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.182e-05/0.1705, allocations: 184.2 kB / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.371e-05/0.1706, allocations: 180.3 kB / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1708, allocations: 372.2 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/0.1709, allocations: 116.9 kB / 0.8387 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.1709, allocations: 101 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.171, allocations: 184.1 kB / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.1711, allocations: 184.4 kB / 0.8391 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-05/0.1712, allocations: 180.3 kB / 0.8393 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.3e-05/0.1712, allocations: 180.2 kB / 0.8395 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1714, allocations: 307.7 kB / 0.8398 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1714, allocations: 112.9 kB / 0.8399 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.1715, allocations: 176.3 kB / 0.84 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.1716, allocations: 112.9 kB / 0.8401 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.1717, allocations: 184.3 kB / 0.8403 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.1718, allocations: 104.9 kB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.1718, allocations: 83.27 kB / 0.8405 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1718, allocations: 0 / 0.8405 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002547/0.1721, allocations: 23.88 kB / 0.8405 GB, free: 0.6719 MB / 0.5762 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.0007663/0.1728, allocations: 0.8671 MB / 0.8414 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.555e-05/0.1729, allocations: 15.92 kB / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1729, allocations: 0 / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.1729, allocations: 0 / 0.8414 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1733, allocations: 455.7 kB / 0.8418 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.1739, allocations: 235.8 kB / 0.842 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.1739, allocations: 59.34 kB / 0.8421 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.1739, allocations: 6.938 kB / 0.8421 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.174, allocations: 15.48 kB / 0.8421 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.174, allocations: 0 / 0.8421 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.1946, allocations: 1.705 MB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.95, allocations: 16.3 kB / 0.8438 GB, free: 13.44 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.842852127971128] Failed to read output from testmodel.py, exit status != 0: 11.110036008991301 11.126400235 10.955211289 Calling exit ...