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.001675/0.001675, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001479/0.001479, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002438/0.002438, allocations: 280.8 kB / 313.5 MB, free: 2.785 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.148/1.148, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.002666/0.002666, allocations: 107.4 kB / 0.7404 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1542, allocations: 95.38 MB / 0.8336 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00164/0.1559, allocations: 0.5809 MB / 0.8341 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1571, allocations: 1.032 MB / 0.8351 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.1571, allocations: 0 / 0.8351 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1571, allocations: 0 / 0.8351 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.1578, allocations: 95.77 kB / 0.8352 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.801e-05/0.1578, allocations: 7.938 kB / 0.8352 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.1579, allocations: 8 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1579, allocations: 3.984 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.1579, allocations: 8 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1581, allocations: 28.25 kB / 0.8353 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1581, allocations: 3.938 kB / 0.8353 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1583, allocations: 83.91 kB / 0.8354 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.1583, allocations: 3.938 kB / 0.8354 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1583, allocations: 7.984 kB / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1584, allocations: 79.78 kB / 0.8354 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1585, allocations: 0 / 0.8354 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1585, allocations: 0 / 0.8354 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1585, allocations: 0 / 0.8354 GB, free: 6.66 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.0002962/0.1588, allocations: 262.3 kB / 0.8357 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1588, allocations: 13.88 kB / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.1588, allocations: 192 / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.1588, allocations: 30.75 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1588, allocations: 4.938 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.159, allocations: 110.5 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.159, allocations: 384 / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.159, allocations: 8.125 kB / 0.8359 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.885e-05/0.1591, allocations: 33.64 kB / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1591, allocations: 0 / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.1591, allocations: 0 / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1591, allocations: 0 / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.1591, allocations: 4 kB / 0.8359 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1594, allocations: 366.5 kB / 0.8362 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.1595, allocations: 173.1 kB / 0.8364 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.1596, allocations: 80.14 kB / 0.8365 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1596, allocations: 75.28 kB / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.1597, allocations: 113.8 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1597, allocations: 0 / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.01e-05/0.1597, allocations: 33.69 kB / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.1598, allocations: 130.7 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.1599, allocations: 97.86 kB / 0.8369 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1599, allocations: 29.64 kB / 0.8369 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1599, allocations: 84.12 kB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.16, allocations: 0 / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.16, allocations: 17.72 kB / 0.837 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1601, allocations: 314.8 kB / 0.8373 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.1601, allocations: 4 kB / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.1601, allocations: 4 kB / 0.8373 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.1601, allocations: 4.859 kB / 0.8373 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1602, allocations: 0 / 0.8373 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.153e-05/0.1602, allocations: 37.69 kB / 0.8374 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1603, allocations: 4 kB / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1603, allocations: 0 / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1603, allocations: 0 / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.01e-05/0.1603, allocations: 7.938 kB / 0.8374 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1603, allocations: 0 / 0.8374 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.1603, allocations: 12.03 kB / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1603, allocations: 0 / 0.8374 GB, free: 4.449 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.0001052/0.1604, allocations: 185.1 kB / 0.8376 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.1605, allocations: 105 kB / 0.8377 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.1605, allocations: 111.9 kB / 0.8378 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.265e-05/0.1606, allocations: 184.2 kB / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-05/0.1607, allocations: 188.3 kB / 0.8381 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/0.1608, allocations: 180.2 kB / 0.8383 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.161, allocations: 372.2 kB / 0.8387 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/0.1611, allocations: 108.9 kB / 0.8388 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.1611, allocations: 104.9 kB / 0.8389 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.1612, allocations: 180.3 kB / 0.839 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.1613, allocations: 188.4 kB / 0.8392 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.729e-05/0.1613, allocations: 184.3 kB / 0.8394 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.195e-05/0.1614, allocations: 180.2 kB / 0.8396 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.1616, allocations: 307.7 kB / 0.8399 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1616, allocations: 112.9 kB / 0.84 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.1617, allocations: 180.3 kB / 0.8401 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1618, allocations: 104.9 kB / 0.8402 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.1619, allocations: 184.3 kB / 0.8404 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.1619, allocations: 101 kB / 0.8405 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.1619, allocations: 83.27 kB / 0.8406 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1619, allocations: 4 kB / 0.8406 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002483/0.1622, allocations: 23.88 kB / 0.8406 GB, free: 0.9453 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.000684/0.1629, allocations: 0.8741 MB / 0.8415 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.1629, allocations: 3.984 kB / 0.8415 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1629, allocations: 0 / 0.8415 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.1629, allocations: 7.938 kB / 0.8415 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1633, allocations: 456 kB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.1638, allocations: 238.9 kB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1641, allocations: 0.6729 MB / 0.8428 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.1641, allocations: 4 kB / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.1642, allocations: 7.438 kB / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1642, allocations: 0 / 0.8428 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.1846, allocations: 1.691 MB / 0.8445 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.94, allocations: 15.88 kB / 0.8445 GB, free: 13.11 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.894797419023234] Failed to read output from testmodel.py, exit status != 0: 11.09759506204864 11.123749965 10.960657411 Calling exit ...