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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.875/0.875, 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.001114/0.001114, allocations: 175.4 kB / 164.6 MB, free: 11.63 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.708/1.708, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.001023/0.001022, allocations: 90.45 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.205e-05, allocations: 6.594 kB / 0.5466 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 76.77 MB / 0.6216 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.3091, allocations: 117.8 MB / 0.7366 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.3094, allocations: 111.9 kB / 0.7367 GB, free: 5.016 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:19:38-19: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_100boreholes.mo:20:39-20: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_100boreholes.mo:21:56-21: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_100boreholes.mo:22:41-22:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.4236/0.733, allocations: 25.9 MB / 0.762 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.733, allocations: 0 / 0.762 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.709e-05/0.7331, allocations: 19.06 kB / 0.7621 GB, free: 110.4 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.002564/0.7356, allocations: 1.336 MB / 0.7634 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.7357, allocations: 11.06 kB / 0.7634 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.7362, allocations: 160.4 kB / 0.7635 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.7371, allocations: 0.6435 MB / 0.7642 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7371, allocations: 4 kB / 0.7642 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.7372, allocations: 24 kB / 0.7642 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002702/0.7375, allocations: 427.7 kB / 0.7646 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.7377, allocations: 383.1 kB / 0.765 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7378, allocations: 0 / 0.765 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7378, allocations: 7.984 kB / 0.765 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7378, allocations: 0 / 0.765 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.7387, allocations: 0.9394 MB / 0.7659 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.739, allocations: 0.5477 MB / 0.7664 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7392, allocations: 333.7 kB / 0.7667 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.7399, allocations: 1.032 MB / 0.7677 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.7402, allocations: 404.7 kB / 0.7681 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.7402, allocations: 0.9375 kB / 0.7681 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007458/0.7409, allocations: 1.019 MB / 0.7691 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.741, allocations: 81.06 kB / 0.7692 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.7423, allocations: 1.533 MB / 0.7707 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.7424, allocations: 29.7 kB / 0.7707 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.7427, allocations: 478 kB / 0.7712 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.7427, allocations: 23.7 kB / 0.7712 GB, free: 101 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.7428, allocations: 4 kB / 0.7712 GB, free: 101 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.7429, allocations: 403 kB / 0.7716 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.744, allocations: 1.452 MB / 0.773 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.7452, allocations: 1.589 MB / 0.7746 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7467, allocations: 1.837 MB / 0.7764 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7467, allocations: 0 / 0.7764 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003898/0.7506, allocations: 3.964 MB / 0.7802 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.7506, allocations: 8 kB / 0.7802 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.074e-05/0.7507, allocations: 20 kB / 0.7802 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.7507, allocations: 4 kB / 0.7803 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.7514, allocations: 151.8 kB / 0.7804 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7514, allocations: 4 kB / 0.7804 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/0.7522, allocations: 236.2 kB / 0.7806 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7523, allocations: 91.98 kB / 0.7807 GB, free: 91.22 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.0001132/0.7524, allocations: 112.9 kB / 0.7808 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.7525, allocations: 118.1 kB / 0.7809 GB, free: 90.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.7533, allocations: 1.004 MB / 0.7819 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7533, allocations: 4 kB / 0.7819 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7533, allocations: 0 / 0.7819 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7533, allocations: 0 / 0.7819 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.754, allocations: 0.6594 MB / 0.7826 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.754, allocations: 0 / 0.7826 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.7541, allocations: 7.984 kB / 0.7826 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7541, allocations: 0 / 0.7826 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.7541, allocations: 4 kB / 0.7826 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7542, allocations: 0 / 0.7826 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7542, allocations: 4.031 kB / 0.7826 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.7548, allocations: 1.061 MB / 0.7836 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.755, allocations: 207.1 kB / 0.7838 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.7552, allocations: 3.984 kB / 0.7838 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.7555, allocations: 4 kB / 0.7838 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.7555, allocations: 15.73 kB / 0.7838 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.7556, allocations: 11.98 kB / 0.7838 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008961/0.7565, allocations: 1.007 MB / 0.7848 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7565, allocations: 0 / 0.7848 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001756/0.7583, allocations: 0.511 MB / 0.7853 GB, free: 86.36 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.002135/0.7604, allocations: 0.563 MB / 0.7859 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.7622, allocations: 2.474 MB / 0.7883 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7622, allocations: 0 / 0.7883 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7624, allocations: 339.8 kB / 0.7886 GB, free: 83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.7628, allocations: 54.55 kB / 0.7887 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.7651, allocations: 2.099 MB / 0.7907 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.7657, allocations: 1.179 MB / 0.7919 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004299/0.7661, allocations: 126.8 kB / 0.792 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.7663, allocations: 67.38 kB / 0.7921 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.944e-06/0.7663, allocations: 4 kB / 0.7921 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.01767/0.784, allocations: 11.06 MB / 0.8029 GB, free: 68.4 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe 2>&1)