Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7757/0.7757, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 426.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 93.3 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001573/0.001573, allocations: 267.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 24 kB / 0.6621 GB, free: 6.754 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5514, allocations: 122.1 MB / 0.8587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004572/0.552, allocations: 115.9 kB / 0.8588 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1477/0.6997, allocations: 25.11 MB / 0.8833 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6997, allocations: 0 / 0.8833 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001102/0.6999, allocations: 20 kB / 0.8834 GB, free: 10.82 MB / 0.5573 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.004872/0.7048, allocations: 1.617 MB / 0.8849 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.7048, allocations: 8.031 kB / 0.8849 GB, free: 9.129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.7056, allocations: 150.9 kB / 0.8851 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.7073, allocations: 0.685 MB / 0.8858 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.7073, allocations: 20.38 kB / 0.8858 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.7075, allocations: 48.34 kB / 0.8858 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.7082, allocations: 395.7 kB / 0.8862 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7082, allocations: 192 / 0.8862 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.7082, allocations: 3.938 kB / 0.8862 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7082, allocations: 0 / 0.8862 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.7089, allocations: 439.7 kB / 0.8866 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.7108, allocations: 0.9866 MB / 0.8876 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.7116, allocations: 0.5672 MB / 0.8881 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.7122, allocations: 337.7 kB / 0.8885 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.7136, allocations: 1.036 MB / 0.8895 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.7142, allocations: 396.8 kB / 0.8899 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.7142, allocations: 0 / 0.8899 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.002315/0.7166, allocations: 1.366 MB / 0.8912 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.7167, allocations: 85.11 kB / 0.8913 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/0.7204, allocations: 1.843 MB / 0.8931 GB, free: 332 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.7206, allocations: 45.7 kB / 0.8931 GB, free: 280 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.4337/1.154, allocations: 486.6 kB / 0.8936 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.154, allocations: 22.02 kB / 0.8936 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.155, allocations: 17.81 kB / 0.8936 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003568/1.155, allocations: 411.9 kB / 0.894 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.159, allocations: 1.476 MB / 0.8954 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/1.163, allocations: 1.62 MB / 0.897 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.173, allocations: 3.013 MB / 0.9 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/1.173, allocations: 3.188 kB / 0.9 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009122/1.182, allocations: 4.046 MB / 0.9039 GB, free: 134 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/1.182, allocations: 7.906 kB / 0.9039 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/1.182, allocations: 20.23 kB / 0.904 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.93e-05/1.183, allocations: 4.125 kB / 0.904 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.184, allocations: 147.7 kB / 0.9041 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/1.184, allocations: 7.281 kB / 0.9041 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.185, allocations: 242.5 kB / 0.9043 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.185, allocations: 94.36 kB / 0.9044 GB, free: 133.8 MB / 0.5573 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.0009025/1.186, allocations: 383.2 kB / 0.9048 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/1.187, allocations: 123.1 kB / 0.9049 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/1.188, allocations: 1.016 MB / 0.9059 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/1.188, allocations: 0 / 0.9059 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.189, allocations: 7.906 kB / 0.9059 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.189, allocations: 3.219 kB / 0.9059 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.19, allocations: 0.6711 MB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.19, allocations: 2.938 kB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/1.19, allocations: 7.172 kB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.19, allocations: 3.531 kB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.19, allocations: 0 / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.19, allocations: 5.828 kB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.19, allocations: 6.75 kB / 0.9066 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.192, allocations: 1.056 MB / 0.9076 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/1.192, allocations: 211.8 kB / 0.9078 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/1.192, allocations: 3.969 kB / 0.9078 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/1.193, allocations: 3.969 kB / 0.9078 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/1.193, allocations: 12.86 kB / 0.9078 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/1.193, allocations: 15.42 kB / 0.9079 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002272/1.195, allocations: 1.108 MB / 0.9089 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.195, allocations: 0 / 0.9089 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002827/1.198, allocations: 0.5258 MB / 0.9095 GB, free: 132.5 MB / 0.5573 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.003086/1.201, allocations: 0.5643 MB / 0.91 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.205, allocations: 2.51 MB / 0.9125 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.205, allocations: 6.406 kB / 0.9125 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/1.205, allocations: 334.6 kB / 0.9128 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/1.206, allocations: 69.72 kB / 0.9128 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/1.211, allocations: 2.714 MB / 0.9155 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/1.212, allocations: 1.159 MB / 0.9166 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008034/1.213, allocations: 124.5 kB / 0.9167 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.213, allocations: 66.53 kB / 0.9168 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/1.213, allocations: 0 / 0.9168 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.03275/1.246, allocations: 11.73 MB / 0.9283 GB, free: 121.9 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)