Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 107.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 190.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 72.33 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2202, allocations: 114.5 MB / 0.7836 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002547/0.2228, allocations: 1.469 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.2273, allocations: 3.084 MB / 0.788 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.2274, allocations: 0 / 0.788 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2275, allocations: 7.922 kB / 0.788 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.2278, allocations: 31.84 kB / 0.788 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.2304, allocations: 0.8821 MB / 0.7889 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2305, allocations: 83.75 kB / 0.789 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.2306, allocations: 3.938 kB / 0.789 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.2307, allocations: 35.91 kB / 0.789 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.2309, allocations: 157 kB / 0.7892 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.231, allocations: 16 kB / 0.7892 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.233, allocations: 1.419 MB / 0.7906 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.2332, allocations: 267.8 kB / 0.7908 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.2334, allocations: 278.3 kB / 0.7911 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2348, allocations: 0.99 MB / 0.7921 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2348, allocations: 4 kB / 0.7921 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2348, allocations: 0 / 0.7921 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2348, allocations: 0 / 0.7921 GB, free: 5.09 MB / 0.6075 GB 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.008902/0.2437, allocations: 1.21 MB / 0.7932 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2438, allocations: 12.03 kB / 0.7933 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/0.2442, allocations: 87.69 kB / 0.7933 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2446, allocations: 356.9 kB / 0.7937 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2446, allocations: 8.359 kB / 0.7937 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2447, allocations: 8.375 kB / 0.7937 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.2451, allocations: 399.4 kB / 0.7941 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2451, allocations: 4 kB / 0.7941 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2451, allocations: 4 kB / 0.7941 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2452, allocations: 0 / 0.7941 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.2456, allocations: 431.8 kB / 0.7945 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.2462, allocations: 0.6364 MB / 0.7951 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.2467, allocations: 0.5594 MB / 0.7957 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.247, allocations: 337.7 kB / 0.796 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.2482, allocations: 1.028 MB / 0.797 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.2486, allocations: 408.8 kB / 0.7974 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.2486, allocations: 0 / 0.7974 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.00137/0.25, allocations: 1.293 MB / 0.7986 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2501, allocations: 85.23 kB / 0.7987 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2512, allocations: 1.202 MB / 0.7999 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.2513, allocations: 29.7 kB / 0.7999 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.2515, allocations: 261.4 kB / 0.8002 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.2515, allocations: 19.75 kB / 0.8002 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.2519, allocations: 351.5 kB / 0.8005 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.252, allocations: 310 kB / 0.8008 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.2532, allocations: 1.361 MB / 0.8022 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.2545, allocations: 1.497 MB / 0.8036 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.2615, allocations: 3.537 MB / 0.8071 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2615, allocations: 4 kB / 0.8071 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004314/0.2659, allocations: 3.965 MB / 0.8109 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.2659, allocations: 11.98 kB / 0.811 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.2659, allocations: 0 / 0.811 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.266, allocations: 0 / 0.811 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2661, allocations: 15.94 kB / 0.811 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.2661, allocations: 12.05 kB / 0.811 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.2666, allocations: 228.4 kB / 0.8112 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.2667, allocations: 23.98 kB / 0.8112 GB, free: 0.8281 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.0003008/0.267, allocations: 240.5 kB / 0.8115 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.2671, allocations: 66.72 kB / 0.8115 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.2674, allocations: 78.83 kB / 0.8116 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2674, allocations: 0 / 0.8116 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2674, allocations: 0 / 0.8116 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2674, allocations: 4 kB / 0.8116 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.2679, allocations: 0.4967 MB / 0.8121 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2679, allocations: 0 / 0.8121 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.268, allocations: 11.92 kB / 0.8121 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.268, allocations: 4 kB / 0.8121 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.268, allocations: 7.922 kB / 0.8121 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.268, allocations: 0 / 0.8121 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.268, allocations: 0 / 0.8121 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.269, allocations: 1.005 MB / 0.8131 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2691, allocations: 155.8 kB / 0.8132 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.2691, allocations: 4 kB / 0.8132 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2693, allocations: 7.984 kB / 0.8132 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2693, allocations: 0 / 0.8132 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.2694, allocations: 15.97 kB / 0.8133 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007034/0.2701, allocations: 0.6726 MB / 0.8139 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2701, allocations: 0 / 0.8139 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001092/0.2712, allocations: 387.9 kB / 0.8143 GB, free: 13.58 MB / 0.6387 GB 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.001264/0.2725, allocations: 494.1 kB / 0.8148 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.2748, allocations: 2.492 MB / 0.8172 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2748, allocations: 3.938 kB / 0.8172 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.2751, allocations: 339.8 kB / 0.8175 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2755, allocations: 40.44 kB / 0.8176 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.2777, allocations: 1.965 MB / 0.8195 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.2782, allocations: 0.9601 MB / 0.8204 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2784, allocations: 35.41 kB / 0.8205 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.2784, allocations: 0 / 0.8205 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of Templates: time 0.0173/0.2957, allocations: 10.53 MB / 0.8307 GB, free: 12.65 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)