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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 180.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5302/0.5302, allocations: 90.92 MB / 99.35 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 95.89 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.153e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 72.31 MB / 0.5537 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5627, allocations: 124.3 MB / 0.675 GB, free: 1.938 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5631, allocations: 115 kB / 0.6751 GB, free: 1.867 MB / 474.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.1091/0.6722, allocations: 30.2 MB / 0.7046 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6722, allocations: 0 / 0.7046 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.445e-05/0.6723, allocations: 20 kB / 0.7046 GB, free: 7.875 MB / 0.4948 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.00291/0.6752, allocations: 1.12 MB / 0.7057 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.6753, allocations: 8.031 kB / 0.7058 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.6757, allocations: 94.75 kB / 0.7058 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.6764, allocations: 431 kB / 0.7063 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.6765, allocations: 3.938 kB / 0.7063 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6766, allocations: 27.81 kB / 0.7063 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00041/0.677, allocations: 427.1 kB / 0.7067 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.6774, allocations: 378.7 kB / 0.7071 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6774, allocations: 0 / 0.7071 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.6774, allocations: 3.984 kB / 0.7071 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6774, allocations: 3.984 kB / 0.7071 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.6782, allocations: 0.6973 MB / 0.7077 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.6787, allocations: 0.5545 MB / 0.7083 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.679, allocations: 328.7 kB / 0.7086 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.6801, allocations: 1.036 MB / 0.7096 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.6805, allocations: 395 kB / 0.71 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.6805, allocations: 0 / 0.71 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.6815, allocations: 0.9621 MB / 0.7109 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.6816, allocations: 89.05 kB / 0.711 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6826, allocations: 1.01 MB / 0.712 GB, free: 344 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.6827, allocations: 25.7 kB / 0.712 GB, free: 312 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.6829, allocations: 261.4 kB / 0.7123 GB, free: 108 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.683, allocations: 27.39 kB / 0.7123 GB, free: 88 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.683, allocations: 0 / 0.7123 GB, free: 88 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6832, allocations: 416.1 kB / 0.7127 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.6844, allocations: 1.198 MB / 0.7139 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.6856, allocations: 1.338 MB / 0.7152 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.6873, allocations: 1.606 MB / 0.7167 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6873, allocations: 0 / 0.7167 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004172/0.6915, allocations: 3.417 MB / 0.7201 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6915, allocations: 9.391 kB / 0.7201 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.6916, allocations: 11.94 kB / 0.7201 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6916, allocations: 4 kB / 0.7201 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.6923, allocations: 147.7 kB / 0.7202 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.6923, allocations: 4 kB / 0.7202 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.6929, allocations: 240.2 kB / 0.7205 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.693, allocations: 55.98 kB / 0.7205 GB, free: 8.5 MB / 0.5105 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.0001649/0.6932, allocations: 122.1 kB / 0.7206 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008474/0.694, allocations: 0.9492 MB / 0.7216 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.6941, allocations: 70.77 kB / 0.7216 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.6951, allocations: 0.9245 MB / 0.7225 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6951, allocations: 0 / 0.7225 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6951, allocations: 7.953 kB / 0.7225 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6951, allocations: 3.938 kB / 0.7225 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.6956, allocations: 476.3 kB / 0.723 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6956, allocations: 0 / 0.723 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.6957, allocations: 4 kB / 0.723 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6957, allocations: 4 kB / 0.723 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6957, allocations: 3.984 kB / 0.723 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6957, allocations: 0 / 0.723 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6957, allocations: 4 kB / 0.723 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.6966, allocations: 1 MB / 0.724 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.6967, allocations: 155.8 kB / 0.7241 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.6968, allocations: 4 kB / 0.7241 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6969, allocations: 0 / 0.7241 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.697, allocations: 11.94 kB / 0.7242 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.697, allocations: 15.92 kB / 0.7242 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006264/0.6977, allocations: 0.6026 MB / 0.7248 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6977, allocations: 4 kB / 0.7248 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002256/0.6999, allocations: 0.6749 MB / 0.7254 GB, free: 3.367 MB / 0.5105 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.004307/0.7043, allocations: 2.316 MB / 0.7277 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.7067, allocations: 2.382 MB / 0.73 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7067, allocations: 4.062 kB / 0.73 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.707, allocations: 335.8 kB / 0.7303 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.7073, allocations: 38.84 kB / 0.7304 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.7105, allocations: 1.868 MB / 0.7322 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.7112, allocations: 0.9814 MB / 0.7332 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.7114, allocations: 55.28 kB / 0.7332 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.7117, allocations: 279.3 kB / 0.7335 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.7117, allocations: 0 / 0.7335 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.7587, allocations: 20.14 MB / 0.7531 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.759, allocations: 265.8 kB / 0.7534 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.396, allocations: 0 / 0.7534 GB, free: 6.59 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)