Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8251/0.8251, allocations: 140.1 MB / 156 MB, free: 5.188 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.0009617/0.0009617, allocations: 179.6 kB / 188.5 MB, free: 15.84 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.532/1.532, allocations: 205.4 MB / 426.3 MB, free: 8.473 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.0007883/0.0007882, allocations: 82.38 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00161/0.00161, allocations: 277.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004705, allocations: 24 kB / 0.6621 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3912, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.5497, allocations: 126.6 MB / 0.8631 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.5501, allocations: 115.9 kB / 0.8632 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09698/0.6471, allocations: 29.83 MB / 0.8924 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.727e-06/0.6471, allocations: 4 kB / 0.8924 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.163e-05/0.6472, allocations: 15.94 kB / 0.8924 GB, free: 1.559 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.00221/0.6494, allocations: 1.192 MB / 0.8935 GB, free: 320 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.6494, allocations: 8.031 kB / 0.8936 GB, free: 312 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.6498, allocations: 107.6 kB / 0.8937 GB, free: 204 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3258/0.9756, allocations: 463.2 kB / 0.8941 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.9757, allocations: 27.7 kB / 0.8941 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.9758, allocations: 35.45 kB / 0.8942 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.9764, allocations: 386.4 kB / 0.8945 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9764, allocations: 4.594 kB / 0.8945 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9765, allocations: 2.812 kB / 0.8945 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.9765, allocations: 0.75 kB / 0.8945 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.9771, allocations: 440.4 kB / 0.895 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.9781, allocations: 0.7668 MB / 0.8957 GB, free: 135 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.9787, allocations: 0.567 MB / 0.8963 GB, free: 135 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.9791, allocations: 338.4 kB / 0.8966 GB, free: 135 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.9799, allocations: 1.033 MB / 0.8976 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.9804, allocations: 406.1 kB / 0.898 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.9804, allocations: 0.9688 kB / 0.898 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.002074/0.9825, allocations: 1.307 MB / 0.8993 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.9826, allocations: 85.34 kB / 0.8993 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.9844, allocations: 1.274 MB / 0.9006 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/0.9845, allocations: 46.14 kB / 0.9006 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.9848, allocations: 296.1 kB / 0.9009 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.9848, allocations: 18.64 kB / 0.9009 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.9849, allocations: 19.12 kB / 0.9009 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.985, allocations: 422.5 kB / 0.9013 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9861, allocations: 1.216 MB / 0.9025 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.9872, allocations: 1.368 MB / 0.9039 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.9917, allocations: 2.748 MB / 0.9065 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9917, allocations: 0 / 0.9065 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003428/0.9951, allocations: 3.456 MB / 0.9099 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9952, allocations: 6.125 kB / 0.9099 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.9952, allocations: 3 kB / 0.9099 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9952, allocations: 3.938 kB / 0.9099 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.9958, allocations: 150.2 kB / 0.9101 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.9958, allocations: 3.125 kB / 0.9101 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.9964, allocations: 245.5 kB / 0.9103 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.9965, allocations: 66.17 kB / 0.9104 GB, free: 130 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.0002728/0.9967, allocations: 261.5 kB / 0.9106 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.9968, allocations: 69.59 kB / 0.9107 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/0.9976, allocations: 0.9516 MB / 0.9116 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9976, allocations: 3.938 kB / 0.9116 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9977, allocations: 0 / 0.9116 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9977, allocations: 3.703 kB / 0.9116 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.9981, allocations: 0.5153 MB / 0.9121 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9981, allocations: 0 / 0.9121 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.9982, allocations: 5.656 kB / 0.9121 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9982, allocations: 3.938 kB / 0.9121 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.9982, allocations: 7.562 kB / 0.9122 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.9982, allocations: 3.938 kB / 0.9122 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9982, allocations: 6.594 kB / 0.9122 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.9989, allocations: 1.004 MB / 0.9131 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.999, allocations: 161 kB / 0.9133 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.999, allocations: 0 / 0.9133 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.9992, allocations: 11.19 kB / 0.9133 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.9992, allocations: 3.906 kB / 0.9133 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.9993, allocations: 25.83 kB / 0.9133 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005882/0.9999, allocations: 0.7072 MB / 0.914 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9999, allocations: 0 / 0.914 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001256/1.001, allocations: 0.4953 MB / 0.9145 GB, free: 128.8 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.00134/1.002, allocations: 0.6529 MB / 0.9151 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001716/1.004, allocations: 2.365 MB / 0.9175 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.004, allocations: 0 / 0.9175 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/1.004, allocations: 340.1 kB / 0.9178 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/1.005, allocations: 49.78 kB / 0.9178 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.007, allocations: 1.976 MB / 0.9198 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/1.007, allocations: 0.9882 MB / 0.9207 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001965/1.007, allocations: 57.06 kB / 0.9208 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/1.007, allocations: 46.19 kB / 0.9208 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/1.007, allocations: 0 / 0.9208 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.01629/1.024, allocations: 11.21 MB / 0.9318 GB, free: 118.4 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)