Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8094/0.8094, allocations: 140.1 MB / 156 MB, free: 5.148 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.001575/0.001575, allocations: 177.1 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.443/1.443, allocations: 205.4 MB / 426.3 MB, free: 8.367 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.0007781/0.0007779, allocations: 98.28 kB / 0.4945 GB, free: 8.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001725/0.001725, allocations: 266.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 24 kB / 0.6621 GB, free: 6.746 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3882, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5415, allocations: 122.1 MB / 0.8587 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/0.5419, allocations: 119.9 kB / 0.8588 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07485/0.6168, allocations: 21.93 MB / 0.8802 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6168, allocations: 4 kB / 0.8802 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.397e-05/0.6169, allocations: 12 kB / 0.8803 GB, free: 14 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.002693/0.6196, allocations: 1.133 MB / 0.8814 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6197, allocations: 8.031 kB / 0.8814 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.6201, allocations: 99.69 kB / 0.8815 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.6208, allocations: 432.6 kB / 0.8819 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.6209, allocations: 28.38 kB / 0.8819 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.621, allocations: 40.36 kB / 0.8819 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.6214, allocations: 387.8 kB / 0.8823 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6214, allocations: 4.172 kB / 0.8823 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6215, allocations: 3.938 kB / 0.8823 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6215, allocations: 0 / 0.8823 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.6219, allocations: 439.7 kB / 0.8827 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.6228, allocations: 0.7417 MB / 0.8835 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.6233, allocations: 0.5594 MB / 0.884 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.6237, allocations: 337.7 kB / 0.8843 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6247, allocations: 1.036 MB / 0.8853 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.6251, allocations: 400.9 kB / 0.8857 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6251, allocations: 0 / 0.8857 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001276/0.6264, allocations: 1.3 MB / 0.887 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.6265, allocations: 85.11 kB / 0.8871 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.6278, allocations: 1.194 MB / 0.8882 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.6279, allocations: 41.7 kB / 0.8883 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6281, allocations: 278 kB / 0.8885 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6282, allocations: 23.73 kB / 0.8886 GB, free: 5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.6282, allocations: 16 kB / 0.8886 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6284, allocations: 415.8 kB / 0.889 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.6297, allocations: 1.218 MB / 0.8902 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.6311, allocations: 1.358 MB / 0.8915 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3266/0.9577, allocations: 2.751 MB / 0.8942 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.9578, allocations: 0 / 0.8942 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004881/0.9627, allocations: 3.444 MB / 0.8975 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.9627, allocations: 7.391 kB / 0.8976 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.9627, allocations: 2.703 kB / 0.8976 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.9628, allocations: 7.219 kB / 0.8976 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.9635, allocations: 146.5 kB / 0.8977 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.9635, allocations: 4.875 kB / 0.8977 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.9641, allocations: 242.7 kB / 0.8979 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9642, allocations: 56.17 kB / 0.898 GB, free: 137.2 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.000362/0.9645, allocations: 261.3 kB / 0.8982 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.9646, allocations: 68.84 kB / 0.8983 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.9661, allocations: 0.938 MB / 0.8992 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9661, allocations: 1.625 kB / 0.8992 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9661, allocations: 0.5312 kB / 0.8992 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9661, allocations: 1.656 kB / 0.8992 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.9667, allocations: 0.4926 MB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9667, allocations: 0.8438 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.9668, allocations: 11.42 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9668, allocations: 0.6562 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.9668, allocations: 11.42 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9669, allocations: 3.438 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9669, allocations: 0.625 kB / 0.8997 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.9684, allocations: 0.998 MB / 0.9007 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.9685, allocations: 155.3 kB / 0.9009 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.9686, allocations: 4.281 kB / 0.9009 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.9687, allocations: 5.734 kB / 0.9009 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.9688, allocations: 9.406 kB / 0.9009 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.9688, allocations: 16.33 kB / 0.9009 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006863/0.9695, allocations: 0.6561 MB / 0.9015 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9695, allocations: 3.875 kB / 0.9015 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001429/0.9709, allocations: 0.4888 MB / 0.902 GB, free: 136.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.001245/0.9722, allocations: 0.5592 MB / 0.9026 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.9741, allocations: 2.366 MB / 0.9049 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9741, allocations: 0 / 0.9049 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.9744, allocations: 339.3 kB / 0.9052 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.9747, allocations: 46.91 kB / 0.9052 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.9765, allocations: 1.835 MB / 0.907 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.9768, allocations: 0.9616 MB / 0.908 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.977, allocations: 60.09 kB / 0.908 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.9771, allocations: 38.8 kB / 0.9081 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/0.9771, allocations: 3.812 kB / 0.9081 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.01428/0.9914, allocations: 9.452 MB / 0.9173 GB, free: 132.2 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)