Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 180.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5468/0.5468, allocations: 92 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 99.2 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 0.4983 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 72.31 MB / 0.5689 GB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.6083, allocations: 125 MB / 0.691 GB, free: 11.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.6087, allocations: 123.7 kB / 0.6911 GB, free: 11.28 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.1074/0.7162, allocations: 30.41 MB / 0.7208 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7162, allocations: 0 / 0.7208 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.7162, allocations: 12 kB / 0.7208 GB, free: 12.82 MB / 0.5105 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.002777/0.719, allocations: 1.269 MB / 0.722 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.7191, allocations: 8.031 kB / 0.722 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.7195, allocations: 90.75 kB / 0.7221 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.7203, allocations: 435.6 kB / 0.7225 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.7203, allocations: 24 kB / 0.7226 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.7204, allocations: 40 kB / 0.7226 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.7209, allocations: 383.2 kB / 0.723 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7209, allocations: 0 / 0.723 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.7209, allocations: 7.953 kB / 0.723 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.7209, allocations: 4 kB / 0.723 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.7214, allocations: 435.7 kB / 0.7234 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.7221, allocations: 0.7497 MB / 0.7241 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.7227, allocations: 0.5633 MB / 0.7247 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.7237, allocations: 1.036 MB / 0.7257 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004327/0.7241, allocations: 404.8 kB / 0.7261 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.7241, allocations: 0 / 0.7261 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001409/0.7256, allocations: 1.301 MB / 0.7274 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.7256, allocations: 85.11 kB / 0.7274 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.7267, allocations: 1.064 MB / 0.7285 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.7268, allocations: 41.7 kB / 0.7285 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.727, allocations: 286 kB / 0.7288 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.7271, allocations: 27.53 kB / 0.7288 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.7271, allocations: 16 kB / 0.7288 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7273, allocations: 420 kB / 0.7292 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.7287, allocations: 1.229 MB / 0.7304 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.7302, allocations: 1.369 MB / 0.7318 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.7319, allocations: 1.622 MB / 0.7333 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7319, allocations: 0 / 0.7333 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004294/0.7362, allocations: 3.489 MB / 0.7368 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.7363, allocations: 7.984 kB / 0.7368 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.7363, allocations: 4 kB / 0.7368 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7363, allocations: 4 kB / 0.7368 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.7369, allocations: 139.8 kB / 0.7369 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.737, allocations: 12.02 kB / 0.7369 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.7375, allocations: 240.3 kB / 0.7371 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/0.7376, allocations: 68 kB / 0.7372 GB, free: 11.46 MB / 0.5261 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 () * Number of clocked 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.0003253/0.738, allocations: 257.5 kB / 0.7375 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.738, allocations: 62.78 kB / 0.7375 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.7391, allocations: 0.9438 MB / 0.7384 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7391, allocations: 0 / 0.7384 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7391, allocations: 4.031 kB / 0.7384 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7391, allocations: 3.953 kB / 0.7384 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.7396, allocations: 0.4892 MB / 0.7389 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7396, allocations: 0 / 0.7389 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/0.7397, allocations: 7.984 kB / 0.7389 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.7397, allocations: 4 kB / 0.7389 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.7397, allocations: 3.938 kB / 0.7389 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7397, allocations: 0 / 0.7389 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7397, allocations: 11.92 kB / 0.7389 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.7406, allocations: 1.012 MB / 0.7399 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7408, allocations: 151.9 kB / 0.7401 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.7408, allocations: 3.984 kB / 0.7401 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.741, allocations: 4 kB / 0.7401 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.741, allocations: 15.94 kB / 0.7401 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.7411, allocations: 15.98 kB / 0.7401 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007179/0.7418, allocations: 0.6611 MB / 0.7408 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7418, allocations: 3.938 kB / 0.7408 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002068/0.7439, allocations: 0.6944 MB / 0.7414 GB, free: 7 MB / 0.5261 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.002061/0.746, allocations: 0.7999 MB / 0.7422 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.7483, allocations: 2.416 MB / 0.7446 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7483, allocations: 0 / 0.7446 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.7487, allocations: 347.8 kB / 0.7449 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.7489, allocations: 37.56 kB / 0.745 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.751, allocations: 1.844 MB / 0.7468 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.7516, allocations: 0.9885 MB / 0.7477 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.7519, allocations: 54.97 kB / 0.7478 GB, free: 464 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.752, allocations: 35.42 kB / 0.7478 GB, free: 428 kB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.752, allocations: 0 / 0.7478 GB, free: 428 kB / 0.5261 GB Notification: Performance of Templates: time 0.02221/0.7742, allocations: 13 MB / 0.7605 GB, free: 3.461 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)