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.001225/0.001225, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001416/0.001416, allocations: 217 kB / 22.25 MB, free: 5.082 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 8.004 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.002409/0.002409, allocations: 283.2 kB / 312.7 MB, free: 2.797 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.164/1.164, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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="me",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="me",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.002711/0.002711, allocations: 95.86 kB / 0.7396 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 95.39 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001758/0.1562, allocations: 0.5792 MB / 0.8334 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1576, allocations: 1.021 MB / 0.8343 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1576, allocations: 4 kB / 0.8344 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1576, allocations: 3.938 kB / 0.8344 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007275/0.1584, allocations: 107.8 kB / 0.8345 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-05/0.1584, allocations: 4 kB / 0.8345 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.1584, allocations: 11.92 kB / 0.8345 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1585, allocations: 7.984 kB / 0.8345 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1585, allocations: 0 / 0.8345 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1587, allocations: 35.06 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.1587, allocations: 3.938 kB / 0.8345 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1589, allocations: 83.91 kB / 0.8346 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.1589, allocations: 4 kB / 0.8346 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.1589, allocations: 0 / 0.8346 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1591, allocations: 83.78 kB / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1591, allocations: 0 / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1591, allocations: 0 / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1591, allocations: 0 / 0.8347 GB, free: 6.664 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.0003/0.1594, allocations: 254.2 kB / 0.8349 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1594, allocations: 13.34 kB / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1595, allocations: 34.75 kB / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.1595, allocations: 0.9375 kB / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1596, allocations: 114.5 kB / 0.8351 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1596, allocations: 4.312 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.1596, allocations: 384 / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.64e-05/0.1597, allocations: 33.58 kB / 0.8351 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1597, allocations: 0 / 0.8351 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1597, allocations: 4 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1597, allocations: 0 / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.526e-05/0.1597, allocations: 0 / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1601, allocations: 370.5 kB / 0.8355 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.1602, allocations: 173.1 kB / 0.8356 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.1602, allocations: 80.14 kB / 0.8357 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.1603, allocations: 75.28 kB / 0.8358 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.1603, allocations: 113.8 kB / 0.8359 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1603, allocations: 0 / 0.8359 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.127e-05/0.1604, allocations: 25.7 kB / 0.8359 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.1605, allocations: 130.6 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1606, allocations: 105.8 kB / 0.8361 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1606, allocations: 29.7 kB / 0.8362 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1606, allocations: 80.14 kB / 0.8363 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.1606, allocations: 0 / 0.8363 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1607, allocations: 17.72 kB / 0.8363 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1608, allocations: 318.8 kB / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.1608, allocations: 0 / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.1608, allocations: 0 / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.464e-05/0.1608, allocations: 8.859 kB / 0.8366 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1608, allocations: 0 / 0.8366 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.865e-05/0.1609, allocations: 33.69 kB / 0.8366 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1609, allocations: 12.03 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1609, allocations: 7.938 kB / 0.8366 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.161, allocations: 0 / 0.8366 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.161, allocations: 4 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.161, allocations: 0 / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.161, allocations: 0 / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.161, allocations: 0 / 0.8366 GB, free: 4.465 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.0001017/0.1611, allocations: 193.1 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.1612, allocations: 105 kB / 0.8369 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1612, allocations: 115.9 kB / 0.837 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/0.1613, allocations: 184.3 kB / 0.8372 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-05/0.1614, allocations: 176.3 kB / 0.8374 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/0.1614, allocations: 184.2 kB / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1617, allocations: 376.2 kB / 0.8379 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/0.1617, allocations: 108.9 kB / 0.838 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.1618, allocations: 101 kB / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.1618, allocations: 188.2 kB / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/0.1619, allocations: 180.4 kB / 0.8385 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-05/0.162, allocations: 184.2 kB / 0.8386 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-05/0.1621, allocations: 180.2 kB / 0.8388 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1622, allocations: 315.7 kB / 0.8391 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.1623, allocations: 108.9 kB / 0.8392 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.1623, allocations: 176.3 kB / 0.8394 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.1624, allocations: 104.9 kB / 0.8395 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.1625, allocations: 180.3 kB / 0.8397 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.1625, allocations: 113 kB / 0.8398 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.1626, allocations: 87.22 kB / 0.8398 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1626, allocations: 0 / 0.8398 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002473/0.1628, allocations: 19.88 kB / 0.8399 GB, free: 0.9531 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.0006589/0.1635, allocations: 0.8616 MB / 0.8407 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.1636, allocations: 4 kB / 0.8407 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1636, allocations: 0 / 0.8407 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.1636, allocations: 3.938 kB / 0.8407 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1639, allocations: 463.7 kB / 0.8412 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.1645, allocations: 233.8 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1647, allocations: 0.6729 MB / 0.842 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.1648, allocations: 8 kB / 0.842 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1648, allocations: 7.766 kB / 0.842 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1648, allocations: 0 / 0.842 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.1933, allocations: 1.665 MB / 0.8437 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 5.234 kB / 0.8437 GB, free: 13.15 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.520053053973243] Failed to read output from testmodel.py, exit status != 0: 10.80363597185351 10.81961796 10.657568593 Calling exit ...