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.001625/0.001625, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001604/0.001604, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.805 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.002605/0.002605, allocations: 289.1 kB / 312.7 MB, free: 2.613 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.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.003056/0.003056, allocations: 104.4 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1502, allocations: 95.38 MB / 0.8332 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001794/0.152, allocations: 0.5713 MB / 0.8337 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1534, allocations: 1.013 MB / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1534, allocations: 0 / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1534, allocations: 4 kB / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006683/0.1541, allocations: 99.78 kB / 0.8348 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.377e-05/0.1541, allocations: 11.92 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.1541, allocations: 4 kB / 0.8349 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.1542, allocations: 0 / 0.8349 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1542, allocations: 4 kB / 0.8349 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1544, allocations: 31.97 kB / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1544, allocations: 0 / 0.8349 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.1546, allocations: 87.83 kB / 0.835 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1546, allocations: 4 kB / 0.835 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.1546, allocations: 7.922 kB / 0.835 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1548, allocations: 71.81 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1548, allocations: 0 / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1548, allocations: 0 / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1548, allocations: 0 / 0.835 GB, free: 5.895 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.0003356/0.1551, allocations: 254.3 kB / 0.8353 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1552, allocations: 9.219 kB / 0.8353 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1552, allocations: 4.922 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1553, allocations: 114.5 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1553, allocations: 384 / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.1553, allocations: 4.375 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.957e-05/0.1554, allocations: 33.83 kB / 0.8355 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1554, allocations: 7.875 kB / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1554, allocations: 0 / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1554, allocations: 3.938 kB / 0.8355 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.1555, allocations: 0 / 0.8355 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1558, allocations: 339.1 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1559, allocations: 181.1 kB / 0.836 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.156, allocations: 80.14 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.156, allocations: 79.22 kB / 0.8361 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.1561, allocations: 113.8 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1561, allocations: 0 / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.881e-05/0.1561, allocations: 29.66 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1562, allocations: 126.7 kB / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1563, allocations: 105.8 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1563, allocations: 25.7 kB / 0.8365 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.1564, allocations: 80.14 kB / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1564, allocations: 0 / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1564, allocations: 13.72 kB / 0.8366 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1566, allocations: 314.8 kB / 0.8369 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.1566, allocations: 0 / 0.8369 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.1566, allocations: 7.938 kB / 0.8369 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.1566, allocations: 8.859 kB / 0.8369 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1566, allocations: 3.938 kB / 0.8369 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.567e-05/0.1567, allocations: 37.69 kB / 0.8369 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1567, allocations: 4 kB / 0.8369 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1567, allocations: 0 / 0.8369 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1567, allocations: 0 / 0.8369 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.317e-05/0.1567, allocations: 0 / 0.8369 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1567, allocations: 0 / 0.8369 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1568, allocations: 8.094 kB / 0.837 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.1568, allocations: 0 / 0.837 GB, free: 3.77 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.0001104/0.1569, allocations: 189.7 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.1569, allocations: 112.9 kB / 0.8372 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.157, allocations: 104.1 kB / 0.8373 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.501e-05/0.1571, allocations: 184.2 kB / 0.8375 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.528e-05/0.1572, allocations: 180.3 kB / 0.8377 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.429e-05/0.1572, allocations: 176.3 kB / 0.8379 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1575, allocations: 368.7 kB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-05/0.1576, allocations: 105 kB / 0.8383 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1576, allocations: 108.9 kB / 0.8384 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.831e-05/0.1577, allocations: 180.3 kB / 0.8386 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/0.1578, allocations: 180.4 kB / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.1579, allocations: 188.2 kB / 0.8389 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.671e-05/0.1579, allocations: 180.3 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1581, allocations: 307.7 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.1582, allocations: 116.8 kB / 0.8395 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.1583, allocations: 180.3 kB / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.1584, allocations: 101 kB / 0.8398 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1585, allocations: 180.2 kB / 0.84 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.1586, allocations: 109 kB / 0.8401 GB, free: 408 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.1586, allocations: 91.27 kB / 0.8401 GB, free: 316 kB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1586, allocations: 0 / 0.8401 GB, free: 316 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002647/0.1589, allocations: 23.88 kB / 0.8402 GB, free: 292 kB / 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.0003773/0.1593, allocations: 216.4 kB / 0.8404 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.906e-05/0.1593, allocations: 11.94 kB / 0.8404 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1593, allocations: 0 / 0.8404 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1593, allocations: 0 / 0.8404 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1598, allocations: 465 kB / 0.8408 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.1601, allocations: 192.2 kB / 0.841 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.1602, allocations: 63.28 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.1602, allocations: 7.906 kB / 0.8411 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.1602, allocations: 7.438 kB / 0.8411 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1602, allocations: 4.062 kB / 0.8411 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.003172/0.1634, allocations: 0.6882 MB / 0.8418 GB, free: 14.65 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9078203700482845] Failed to read output from testmodel.py, exit status != 0: 0.17051399126648903 0.18703165500000002 0.029010052 Calling exit ...