Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00091/0.0009099, allocations: 171.1 kB / 16.76 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4395/0.4395, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 348.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007749/0.000775, allocations: 98.38 kB / 420.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003769, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3083, allocations: 71.02 MB / 0.5595 GB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4344, allocations: 115.1 MB / 0.6719 GB, free: 10.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4347, allocations: 124.2 kB / 0.672 GB, free: 10.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09371/0.5285, allocations: 25.34 MB / 0.6968 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5285, allocations: 3.938 kB / 0.6968 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.057e-05/0.5286, allocations: 20 kB / 0.6968 GB, free: 0.8477 MB / 0.4948 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.2342/0.7627, allocations: 1.603 MB / 0.6984 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7628, allocations: 8.75 kB / 0.6984 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.7633, allocations: 155.5 kB / 0.6985 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7643, allocations: 0.6764 MB / 0.6992 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.7644, allocations: 24.38 kB / 0.6992 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.7645, allocations: 38.67 kB / 0.6992 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.765, allocations: 387.5 kB / 0.6996 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.765, allocations: 3.391 kB / 0.6996 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.765, allocations: 5.875 kB / 0.6996 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7651, allocations: 3.688 kB / 0.6996 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.7656, allocations: 435.3 kB / 0.7 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.7668, allocations: 0.9916 MB / 0.701 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.7674, allocations: 0.5659 MB / 0.7016 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.7678, allocations: 337.3 kB / 0.7019 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.7685, allocations: 1.032 MB / 0.7029 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006029/0.7691, allocations: 408.2 kB / 0.7033 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.7692, allocations: 3.312 kB / 0.7033 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001713/0.7709, allocations: 1.355 MB / 0.7046 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.7709, allocations: 86.36 kB / 0.7047 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.7728, allocations: 1.849 MB / 0.7065 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.7729, allocations: 43.64 kB / 0.7065 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.7733, allocations: 493 kB / 0.707 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.7733, allocations: 21.19 kB / 0.707 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.7734, allocations: 15.5 kB / 0.707 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7735, allocations: 409.6 kB / 0.7074 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.7748, allocations: 1.475 MB / 0.7089 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7761, allocations: 1.628 MB / 0.7105 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/0.7807, allocations: 3.008 MB / 0.7134 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7807, allocations: 0.6562 kB / 0.7134 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003795/0.7845, allocations: 4.052 MB / 0.7174 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.7845, allocations: 7.875 kB / 0.7174 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/0.7846, allocations: 21.88 kB / 0.7174 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7846, allocations: 3.125 kB / 0.7174 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.7852, allocations: 143 kB / 0.7175 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.7852, allocations: 5.969 kB / 0.7175 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.7862, allocations: 244.5 kB / 0.7178 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.7863, allocations: 93.33 kB / 0.7179 GB, free: 112 MB / 0.4948 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 () * Number of clocked 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.0004284/0.7867, allocations: 387.9 kB / 0.7182 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.7868, allocations: 128.4 kB / 0.7183 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/0.7876, allocations: 1.004 MB / 0.7193 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7876, allocations: 3.844 kB / 0.7193 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7876, allocations: 0 / 0.7193 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7877, allocations: 1.078 kB / 0.7193 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.7883, allocations: 0.6928 MB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7883, allocations: 1.688 kB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.7883, allocations: 3 kB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7883, allocations: 7.875 kB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7884, allocations: 7.578 kB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7884, allocations: 0 / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7884, allocations: 3.125 kB / 0.72 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.7891, allocations: 1.052 MB / 0.7211 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.7892, allocations: 208.5 kB / 0.7213 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.7893, allocations: 7.812 kB / 0.7213 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.7896, allocations: 11.8 kB / 0.7213 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.7897, allocations: 3.938 kB / 0.7213 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.7897, allocations: 19.19 kB / 0.7213 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009208/0.7907, allocations: 1.106 MB / 0.7224 GB, free: 110 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7907, allocations: 0 / 0.7224 GB, free: 110 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001401/0.7921, allocations: 0.5182 MB / 0.7229 GB, free: 109.6 MB / 0.4948 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 (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.001221/0.7933, allocations: 0.5669 MB / 0.7234 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.795, allocations: 2.514 MB / 0.7259 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.795, allocations: 3.062 kB / 0.7259 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.7952, allocations: 341.4 kB / 0.7262 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.7957, allocations: 62.41 kB / 0.7263 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.7981, allocations: 2.721 MB / 0.7289 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.7985, allocations: 1.153 MB / 0.7301 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000382/0.7989, allocations: 127.4 kB / 0.7302 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.7991, allocations: 69.69 kB / 0.7302 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.7991, allocations: 0 / 0.7302 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.01837/0.8175, allocations: 11.73 MB / 0.7417 GB, free: 94.38 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)