Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 390.5 MB / 398 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 180.8 kB / 491.2 MB, free: 1.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001269, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.085e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3335, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.394, allocations: 172.8 MB / 1.381 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.394, allocations: 114.7 kB / 1.381 GB, free: 15.5 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.1007/1.495, allocations: 30.21 MB / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/1.495, allocations: 0 / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.438e-05/1.495, allocations: 20 kB / 1.411 GB, free: 14.52 MB / 0.8386 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.002933/1.498, allocations: 1.115 MB / 1.412 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.498, allocations: 8.031 kB / 1.412 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/1.498, allocations: 102.7 kB / 1.412 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/1.499, allocations: 428.1 kB / 1.412 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.499, allocations: 3.938 kB / 1.412 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/1.499, allocations: 23.98 kB / 1.412 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003794/1.5, allocations: 427.1 kB / 1.413 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/1.5, allocations: 378.8 kB / 1.413 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.5, allocations: 3.984 kB / 1.413 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.5, allocations: 0 / 1.413 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.5, allocations: 3.953 kB / 1.413 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/1.501, allocations: 0.7021 MB / 1.414 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/1.501, allocations: 0.5617 MB / 1.414 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/1.501, allocations: 325.4 kB / 1.415 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.503, allocations: 1.035 MB / 1.416 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/1.503, allocations: 399.2 kB / 1.416 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/1.503, allocations: 0 / 1.416 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0009534/1.504, allocations: 0.9597 MB / 1.417 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.504, allocations: 84.62 kB / 1.417 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/1.505, allocations: 1.004 MB / 1.418 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/1.505, allocations: 29.7 kB / 1.418 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.505, allocations: 266.7 kB / 1.418 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/1.505, allocations: 23.11 kB / 1.418 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/1.505, allocations: 0 / 1.418 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.506, allocations: 422.4 kB / 1.419 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.507, allocations: 1.197 MB / 1.42 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.508, allocations: 1.344 MB / 1.421 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.51, allocations: 1.603 MB / 1.423 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.51, allocations: 0 / 1.423 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004302/1.514, allocations: 3.418 MB / 1.426 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.514, allocations: 7.938 kB / 1.426 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/1.514, allocations: 4 kB / 1.426 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.514, allocations: 4 kB / 1.426 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/1.515, allocations: 143.6 kB / 1.426 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.515, allocations: 4 kB / 1.426 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/1.515, allocations: 236.2 kB / 1.427 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.516, allocations: 59.42 kB / 1.427 GB, free: 500 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.000172/1.516, allocations: 120.8 kB / 1.427 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/1.516, allocations: 62.78 kB / 1.427 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/1.517, allocations: 0.9244 MB / 1.428 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.517, allocations: 0 / 1.428 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.517, allocations: 8 kB / 1.428 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.517, allocations: 3.984 kB / 1.428 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/1.517, allocations: 476 kB / 1.428 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.517, allocations: 0 / 1.428 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/1.517, allocations: 12.02 kB / 1.428 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.517, allocations: 4 kB / 1.428 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/1.517, allocations: 3.312 kB / 1.428 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.518, allocations: 3.984 kB / 1.428 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.518, allocations: 4 kB / 1.428 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/1.518, allocations: 0.9972 MB / 1.429 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.518, allocations: 147.9 kB / 1.429 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/1.519, allocations: 7.984 kB / 1.429 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.519, allocations: 3.375 kB / 1.429 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/1.519, allocations: 7.984 kB / 1.429 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/1.519, allocations: 11.98 kB / 1.429 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006143/1.519, allocations: 0.6002 MB / 1.43 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.519, allocations: 0 / 1.43 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002714/1.522, allocations: 0.6805 MB / 1.431 GB, free: 12.58 MB / 0.8542 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) * 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.002645/1.525, allocations: 0.8159 MB / 1.431 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002398/1.527, allocations: 2.381 MB / 1.434 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.527, allocations: 0 / 1.434 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/1.528, allocations: 335.2 kB / 1.434 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.528, allocations: 35.48 kB / 1.434 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.53, allocations: 1.435 MB / 1.435 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/1.53, allocations: 0.9853 MB / 1.436 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002123/1.53, allocations: 51.28 kB / 1.436 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.531, allocations: 35.36 kB / 1.436 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/1.531, allocations: 4 kB / 1.436 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of Templates: time 0.02332/1.554, allocations: 12.79 MB / 1.449 GB, free: 10.64 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)