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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7818/0.7818, allocations: 143.4 MB / 158.3 MB, free: 5.613 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.3 kB / 191.5 MB, free: 5.633 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 447.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008947, allocations: 96.31 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 263.8 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004611, allocations: 16 kB / 0.6929 GB, free: 2.254 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3463, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5021, allocations: 128.1 MB / 0.8989 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5025, allocations: 127.6 kB / 0.899 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4491/0.9516, allocations: 30.16 MB / 0.9285 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9517, allocations: 0 / 0.9285 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.546e-05/0.9517, allocations: 17.5 kB / 0.9285 GB, free: 123.7 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.003059/0.9548, allocations: 1.201 MB / 0.9297 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9549, allocations: 9.094 kB / 0.9297 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.9554, allocations: 110.5 kB / 0.9298 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/0.9564, allocations: 465.7 kB / 0.9302 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.9565, allocations: 23.5 kB / 0.9302 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9566, allocations: 33.97 kB / 0.9303 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.9572, allocations: 394.2 kB / 0.9306 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9572, allocations: 3.938 kB / 0.9306 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.9572, allocations: 0 / 0.9306 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.9572, allocations: 4 kB / 0.9306 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.9578, allocations: 436.1 kB / 0.9311 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.9588, allocations: 0.7704 MB / 0.9318 GB, free: 121 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.9595, allocations: 0.5671 MB / 0.9324 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.9606, allocations: 1.033 MB / 0.9334 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.9612, allocations: 400.9 kB / 0.9338 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.9612, allocations: 0 / 0.9338 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001864/0.9631, allocations: 1.306 MB / 0.935 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.9631, allocations: 81.11 kB / 0.9351 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.9649, allocations: 1.134 MB / 0.9362 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.9651, allocations: 45.7 kB / 0.9363 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.9654, allocations: 296.9 kB / 0.9365 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.9654, allocations: 19.72 kB / 0.9366 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.9655, allocations: 16 kB / 0.9366 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9657, allocations: 431.8 kB / 0.937 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.9676, allocations: 1.214 MB / 0.9382 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.9698, allocations: 1.358 MB / 0.9395 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.9721, allocations: 1.611 MB / 0.9411 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9721, allocations: 0 / 0.9411 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005743/0.9779, allocations: 3.459 MB / 0.9445 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.978, allocations: 4 kB / 0.9445 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.978, allocations: 4 kB / 0.9445 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.978, allocations: 4 kB / 0.9445 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.9793, allocations: 143.8 kB / 0.9446 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.9794, allocations: 4 kB / 0.9446 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9804, allocations: 244.3 kB / 0.9448 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.9806, allocations: 59.97 kB / 0.9449 GB, free: 107.3 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.0005505/0.9811, allocations: 271.5 kB / 0.9452 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.9812, allocations: 74.69 kB / 0.9452 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.9827, allocations: 0.9445 MB / 0.9462 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.9827, allocations: 4 kB / 0.9462 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9828, allocations: 0 / 0.9462 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9828, allocations: 0 / 0.9462 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.9834, allocations: 0.5252 MB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9834, allocations: 4 kB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.9835, allocations: 11.92 kB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.9835, allocations: 0 / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.9836, allocations: 8.031 kB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.9836, allocations: 3.938 kB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9836, allocations: 3.984 kB / 0.9467 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.9849, allocations: 1.009 MB / 0.9477 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.9851, allocations: 163.8 kB / 0.9478 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.9852, allocations: 7.984 kB / 0.9478 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.9855, allocations: 4 kB / 0.9479 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.9856, allocations: 7.984 kB / 0.9479 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.9856, allocations: 15.92 kB / 0.9479 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001188/0.9868, allocations: 0.7062 MB / 0.9486 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9869, allocations: 0 / 0.9486 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002448/0.9893, allocations: 0.5033 MB / 0.9491 GB, free: 102.9 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.002622/0.992, allocations: 0.6436 MB / 0.9497 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.9952, allocations: 2.36 MB / 0.952 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.9952, allocations: 3.938 kB / 0.952 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.9957, allocations: 335.9 kB / 0.9523 GB, free: 99.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.9963, allocations: 69.14 kB / 0.9524 GB, free: 99.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.9997, allocations: 1.969 MB / 0.9543 GB, free: 97.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/1, allocations: 1.005 MB / 0.9553 GB, free: 96.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004357/1.001, allocations: 58.97 kB / 0.9553 GB, free: 96.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/1.001, allocations: 39.42 kB / 0.9554 GB, free: 96.39 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/1.001, allocations: 0 / 0.9554 GB, free: 96.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.02951/1.03, allocations: 10.94 MB / 0.9661 GB, free: 85.54 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)