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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 112.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 292.2 kB / 303 MB, free: 9.484 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.174/1.174, allocations: 180.9 MB / 0.5261 GB, free: 14.78 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 102.8 kB / 0.7248 GB, free: 40.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1604, allocations: 94.16 MB / 0.8168 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001709/0.1622, allocations: 0.5758 MB / 0.8173 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1634, allocations: 1.003 MB / 0.8183 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.1634, allocations: 0 / 0.8183 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1635, allocations: 3.938 kB / 0.8183 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.1641, allocations: 95.78 kB / 0.8184 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-05/0.1642, allocations: 7.984 kB / 0.8184 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1642, allocations: 4 kB / 0.8184 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1643, allocations: 0 / 0.8184 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.1643, allocations: 8 kB / 0.8184 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1645, allocations: 35.91 kB / 0.8185 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1645, allocations: 3.938 kB / 0.8185 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1646, allocations: 79.91 kB / 0.8185 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-06/0.1647, allocations: 3.938 kB / 0.8185 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.1647, allocations: 7.984 kB / 0.8186 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1648, allocations: 72.14 kB / 0.8186 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1648, allocations: 0 / 0.8186 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1648, allocations: 0 / 0.8186 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1648, allocations: 0 / 0.8186 GB, free: 3.418 MB / 0.5606 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.0003662/0.1652, allocations: 351.2 kB / 0.819 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1653, allocations: 12.03 kB / 0.819 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1653, allocations: 30.75 kB / 0.819 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.1653, allocations: 0.9375 kB / 0.819 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1655, allocations: 172.4 kB / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1655, allocations: 384 / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.1655, allocations: 384 / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.1656, allocations: 33.58 kB / 0.8192 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1656, allocations: 0 / 0.8192 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1656, allocations: 4 kB / 0.8192 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1656, allocations: 4 kB / 0.8192 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.1656, allocations: 0 / 0.8192 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.166, allocations: 468.6 kB / 0.8197 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.1661, allocations: 178.9 kB / 0.8198 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.1662, allocations: 84.14 kB / 0.8199 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1662, allocations: 75.28 kB / 0.82 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.1663, allocations: 105.8 kB / 0.8201 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1663, allocations: 0 / 0.8201 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.011e-05/0.1663, allocations: 29.7 kB / 0.8201 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.1664, allocations: 126.7 kB / 0.8202 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.1665, allocations: 105.8 kB / 0.8203 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1665, allocations: 25.7 kB / 0.8204 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1666, allocations: 88.03 kB / 0.8204 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1666, allocations: 4 kB / 0.8204 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1666, allocations: 9.719 kB / 0.8204 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1667, allocations: 318.8 kB / 0.8208 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1667, allocations: 4 kB / 0.8208 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.1667, allocations: 0 / 0.8208 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.1668, allocations: 8.922 kB / 0.8208 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1668, allocations: 4 kB / 0.8208 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.1669, allocations: 33.88 kB / 0.8208 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1669, allocations: 4 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.1669, allocations: 0 / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1669, allocations: 0 / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.1669, allocations: 15.86 kB / 0.8208 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1669, allocations: 0 / 0.8208 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.1669, allocations: 3.938 kB / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1669, allocations: 32 / 0.8208 GB, free: 0.9102 MB / 0.5606 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.0001039/0.167, allocations: 193.1 kB / 0.821 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.1671, allocations: 109 kB / 0.8211 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1672, allocations: 104.1 kB / 0.8212 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/0.1672, allocations: 180.2 kB / 0.8214 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.648e-05/0.1673, allocations: 180.3 kB / 0.8216 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.672e-05/0.1674, allocations: 184.2 kB / 0.8217 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1677, allocations: 405.2 kB / 0.8221 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/0.1677, allocations: 105 kB / 0.8222 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.1677, allocations: 104.9 kB / 0.8223 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.579e-05/0.1678, allocations: 180.2 kB / 0.8225 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.1679, allocations: 188.2 kB / 0.8227 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-05/0.168, allocations: 184.3 kB / 0.8228 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.165e-05/0.168, allocations: 180.2 kB / 0.823 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.1682, allocations: 312 kB / 0.8233 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.1683, allocations: 182 kB / 0.8235 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.1684, allocations: 180.3 kB / 0.8237 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.1685, allocations: 108.9 kB / 0.8238 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.1685, allocations: 176.3 kB / 0.8239 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.1686, allocations: 109 kB / 0.824 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.1686, allocations: 83.28 kB / 0.8241 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1686, allocations: 0 / 0.8241 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002369/0.1689, allocations: 19.94 kB / 0.8241 GB, free: 13.3 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.000686/0.1695, allocations: 0.8696 MB / 0.825 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.1696, allocations: 4 kB / 0.825 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1696, allocations: 0 / 0.825 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.1696, allocations: 3.938 kB / 0.825 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.17, allocations: 459.6 kB / 0.8254 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.1705, allocations: 241.7 kB / 0.8257 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1707, allocations: 0.6729 MB / 0.8263 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.1708, allocations: 0 / 0.8263 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.1708, allocations: 11.44 kB / 0.8263 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1708, allocations: 0 / 0.8263 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1958, allocations: 1.598 MB / 0.8279 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.851, allocations: 7.562 kB / 0.8279 GB, free: 9.578 MB / 0.5762 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.731647940352559] Failed to read output from testmodel.py, exit status != 0: 7.9177204528823495 7.939691547 7.771160525 Calling exit ...