Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, allocations: 127.4 MB / 134.9 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 180.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008853, allocations: 98.28 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.039e-05, allocations: 5.344 kB / 0.5466 GB, free: 95.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 76.76 MB / 0.6216 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.3052, allocations: 122.6 MB / 0.7413 GB, free: 292 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.3055, allocations: 115.9 kB / 0.7414 GB, free: 176 kB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:23:38-23:49:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:24:39-24:50:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:25:56-25:67:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_SmallScaleValidation.mo:26:41-26:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.3996/0.7051, allocations: 30.82 MB / 0.7715 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7051, allocations: 0 / 0.7715 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.717e-05/0.7052, allocations: 16 kB / 0.7715 GB, free: 101.8 MB / 0.5105 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.002078/0.7073, allocations: 1.052 MB / 0.7726 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7073, allocations: 12.03 kB / 0.7726 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.7077, allocations: 102.6 kB / 0.7727 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.7082, allocations: 464.8 kB / 0.7731 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7083, allocations: 0 / 0.7731 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.7083, allocations: 23.98 kB / 0.7731 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002819/0.7086, allocations: 423.8 kB / 0.7735 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.7089, allocations: 387.1 kB / 0.7739 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7089, allocations: 0 / 0.7739 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7089, allocations: 7.938 kB / 0.7739 GB, free: 99.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.7089, allocations: 0 / 0.7739 GB, free: 99.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.7095, allocations: 0.7148 MB / 0.7746 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7098, allocations: 0.5477 MB / 0.7751 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.71, allocations: 333.7 kB / 0.7755 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.7107, allocations: 1.04 MB / 0.7765 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.711, allocations: 400.8 kB / 0.7769 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.711, allocations: 4 kB / 0.7769 GB, free: 95.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0006686/0.7117, allocations: 0.9647 MB / 0.7778 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.7117, allocations: 93 kB / 0.7779 GB, free: 94.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.7125, allocations: 1.056 MB / 0.7789 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.7126, allocations: 29.69 kB / 0.779 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.7127, allocations: 286 kB / 0.7792 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.7128, allocations: 15.81 kB / 0.7792 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.7128, allocations: 0 / 0.7792 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7129, allocations: 427.9 kB / 0.7797 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008566/0.7138, allocations: 1.19 MB / 0.7808 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009575/0.7147, allocations: 1.324 MB / 0.7821 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7159, allocations: 1.583 MB / 0.7837 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.716, allocations: 0 / 0.7837 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003019/0.719, allocations: 3.395 MB / 0.787 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.719, allocations: 4 kB / 0.787 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.719, allocations: 0 / 0.787 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.7191, allocations: 8.031 kB / 0.787 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.7197, allocations: 143.8 kB / 0.7871 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.7197, allocations: 4 kB / 0.7871 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.7203, allocations: 232.2 kB / 0.7873 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.7204, allocations: 55.98 kB / 0.7874 GB, free: 84.99 MB / 0.5105 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.7205, allocations: 120.8 kB / 0.7875 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.7205, allocations: 70.69 kB / 0.7876 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.7212, allocations: 0.9368 MB / 0.7885 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7212, allocations: 3.984 kB / 0.7885 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7213, allocations: 0 / 0.7885 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7213, allocations: 0 / 0.7885 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.7216, allocations: 0.4894 MB / 0.789 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7216, allocations: 3.938 kB / 0.789 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.7217, allocations: 7.984 kB / 0.789 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7217, allocations: 0 / 0.789 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7217, allocations: 8 kB / 0.789 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7217, allocations: 4.031 kB / 0.789 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7217, allocations: 7.922 kB / 0.789 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.7223, allocations: 0.9972 MB / 0.79 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.7224, allocations: 159.8 kB / 0.7901 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.7225, allocations: 3.984 kB / 0.7901 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.7227, allocations: 8 kB / 0.7901 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.7227, allocations: 7.984 kB / 0.7902 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.7227, allocations: 11.98 kB / 0.7902 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005231/0.7233, allocations: 0.64 MB / 0.7908 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7233, allocations: 0 / 0.7908 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001643/0.7249, allocations: 487.3 kB / 0.7913 GB, free: 80.94 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/0.7266, allocations: 0.672 MB / 0.7919 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.7282, allocations: 2.326 MB / 0.7942 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7282, allocations: 0 / 0.7942 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.7284, allocations: 335.8 kB / 0.7945 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.7287, allocations: 49.66 kB / 0.7946 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7303, allocations: 1.482 MB / 0.796 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.7307, allocations: 1.005 MB / 0.797 GB, free: 75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000212/0.7309, allocations: 59.22 kB / 0.797 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.7311, allocations: 47.41 kB / 0.7971 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of SimCode: time 2.394e-06/0.7311, allocations: 0 / 0.7971 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01558/0.7466, allocations: 10.1 MB / 0.8069 GB, free: 64.86 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_SmallScaleValidation.pipe 2>&1)