Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7706/0.7706, allocations: 143.8 MB / 159.1 MB, free: 6.523 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 177.8 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.7 MB / 450.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007351/0.0007353, allocations: 107 kB / 0.5211 GB, free: 1.664 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 282 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 16.72 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 82.45 MB / 0.7754 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001382/0.1269, allocations: 1.117 MB / 0.7764 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.132, allocations: 5.068 MB / 0.7814 GB, free: 7.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.132, allocations: 0 / 0.7814 GB, free: 7.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1322, allocations: 7.922 kB / 0.7814 GB, free: 7.652 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1324, allocations: 35.84 kB / 0.7814 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1342, allocations: 0.7647 MB / 0.7822 GB, free: 6.852 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1344, allocations: 107.7 kB / 0.7823 GB, free: 6.746 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.1345, allocations: 4 kB / 0.7823 GB, free: 6.742 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.1346, allocations: 39.84 kB / 0.7823 GB, free: 6.703 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1349, allocations: 157 kB / 0.7825 GB, free: 6.551 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.1349, allocations: 12 kB / 0.7825 GB, free: 6.539 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1368, allocations: 1.326 MB / 0.7838 GB, free: 5.211 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.1371, allocations: 263.8 kB / 0.784 GB, free: 4.949 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1374, allocations: 304 kB / 0.7843 GB, free: 4.645 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.139, allocations: 1.473 MB / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1391, allocations: 0 / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1391, allocations: 0 / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1391, allocations: 0 / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007313/0.1464, allocations: 1.156 MB / 0.7869 GB, free: 1.961 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1465, allocations: 11.97 kB / 0.7869 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.1468, allocations: 87.69 kB / 0.787 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.1472, allocations: 364.9 kB / 0.7873 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1473, allocations: 384 / 0.7873 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.1473, allocations: 8.375 kB / 0.7873 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.1477, allocations: 387.5 kB / 0.7877 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1477, allocations: 3.938 kB / 0.7877 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1478, allocations: 12 kB / 0.7877 GB, free: 1.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1478, allocations: 0 / 0.7877 GB, free: 1.043 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.1482, allocations: 439.7 kB / 0.7881 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.1488, allocations: 0.6247 MB / 0.7888 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.1493, allocations: 0.5633 MB / 0.7893 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.1496, allocations: 341.7 kB / 0.7896 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009918/0.1506, allocations: 1.036 MB / 0.7906 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.151, allocations: 408.8 kB / 0.791 GB, free: 13.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.151, allocations: 0 / 0.791 GB, free: 13.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.001136/0.1521, allocations: 1.281 MB / 0.7923 GB, free: 12.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1522, allocations: 85.17 kB / 0.7924 GB, free: 11.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1532, allocations: 1.198 MB / 0.7935 GB, free: 10.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1533, allocations: 25.7 kB / 0.7936 GB, free: 10.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1534, allocations: 269.3 kB / 0.7938 GB, free: 10.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1535, allocations: 19.8 kB / 0.7938 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.1535, allocations: 4 kB / 0.7938 GB, free: 10.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1537, allocations: 419.8 kB / 0.7942 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.1548, allocations: 1.357 MB / 0.7956 GB, free: 8.633 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.156, allocations: 1.501 MB / 0.797 GB, free: 7.121 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.1635, allocations: 3.502 MB / 0.8005 GB, free: 3.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1635, allocations: 4 kB / 0.8005 GB, free: 3.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003628/0.1671, allocations: 3.942 MB / 0.8043 GB, free: 15.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1671, allocations: 11.94 kB / 0.8043 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.1672, allocations: 0 / 0.8043 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1672, allocations: 0 / 0.8043 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1673, allocations: 23.91 kB / 0.8043 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1673, allocations: 4 kB / 0.8043 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.1677, allocations: 232.3 kB / 0.8046 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.1678, allocations: 23.98 kB / 0.8046 GB, free: 15.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002484/0.1681, allocations: 237.7 kB / 0.8048 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.1681, allocations: 66.72 kB / 0.8049 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1684, allocations: 74.84 kB / 0.805 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1684, allocations: 0 / 0.805 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1684, allocations: 4 kB / 0.805 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1684, allocations: 3.984 kB / 0.805 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1688, allocations: 496.8 kB / 0.8054 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1688, allocations: 4.031 kB / 0.8054 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.1689, allocations: 7.938 kB / 0.8054 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1689, allocations: 4 kB / 0.8054 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1689, allocations: 3.984 kB / 0.8055 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1689, allocations: 0 / 0.8055 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1689, allocations: 4 kB / 0.8055 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.1697, allocations: 0.9974 MB / 0.8064 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.1698, allocations: 155.8 kB / 0.8066 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.1699, allocations: 7.984 kB / 0.8066 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.17, allocations: 4 kB / 0.8066 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1701, allocations: 7.984 kB / 0.8066 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.1701, allocations: 11.98 kB / 0.8066 GB, free: 13.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006157/0.1707, allocations: 0.6609 MB / 0.8073 GB, free: 12.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 0.8073 GB, free: 12.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009839/0.1717, allocations: 399.9 kB / 0.8076 GB, free: 12.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001094/0.1728, allocations: 488.4 kB / 0.8081 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.1748, allocations: 2.495 MB / 0.8105 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1748, allocations: 0 / 0.8105 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.1751, allocations: 339.8 kB / 0.8109 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1754, allocations: 45.92 kB / 0.8109 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.1774, allocations: 1.926 MB / 0.8128 GB, free: 6.691 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.1779, allocations: 0.9603 MB / 0.8137 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.178, allocations: 40.55 kB / 0.8138 GB, free: 5.664 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.1781, allocations: 27.42 kB / 0.8138 GB, free: 5.637 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1781, allocations: 0 / 0.8138 GB, free: 5.637 MB / 490.7 MB Notification: Performance of Templates: time 0.01461/0.1928, allocations: 9.171 MB / 0.8227 GB, free: 12.47 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)