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.001302/0.001302, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5127/0.5127, allocations: 90.81 MB / 104.5 MB, free: 13.86 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.404/1.404, allocations: 221.3 MB / 348.3 MB, free: 12.62 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.0009592/0.0009591, allocations: 91.92 kB / 421.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.707e-05, allocations: 4 kB / 0.4898 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 72.3 MB / 0.5604 GB, free: 6.289 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5893, allocations: 124.9 MB / 0.6824 GB, free: 15.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5897, allocations: 113.9 kB / 0.6825 GB, free: 15.05 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.1092/0.6989, allocations: 30.33 MB / 0.7121 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.699, allocations: 0 / 0.7121 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.699, allocations: 12 kB / 0.7121 GB, free: 1.488 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.002494/0.7015, allocations: 1.114 MB / 0.7132 GB, free: 336 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.7016, allocations: 16.03 kB / 0.7132 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.7017, allocations: 30.56 kB / 0.7132 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.7021, allocations: 98.75 kB / 0.7133 GB, free: 180 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.7027, allocations: 435.5 kB / 0.7138 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.7027, allocations: 20 kB / 0.7138 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.7028, allocations: 36 kB / 0.7138 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.7032, allocations: 387.2 kB / 0.7142 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.7033, allocations: 3.953 kB / 0.7142 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.7033, allocations: 4 kB / 0.7142 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7033, allocations: 0 / 0.7142 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.7036, allocations: 431.7 kB / 0.7146 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.7043, allocations: 0.7457 MB / 0.7153 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.7048, allocations: 0.5596 MB / 0.7159 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.705, allocations: 341.5 kB / 0.7162 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009288/0.706, allocations: 1.025 MB / 0.7172 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.7064, allocations: 400.9 kB / 0.7176 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.7064, allocations: 0 / 0.7176 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009353/0.7073, allocations: 0.9763 MB / 0.7185 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.7074, allocations: 85.09 kB / 0.7186 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.7083, allocations: 1.061 MB / 0.7197 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.7084, allocations: 41.7 kB / 0.7197 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.7086, allocations: 270 kB / 0.7199 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.7087, allocations: 27.67 kB / 0.72 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.7087, allocations: 20 kB / 0.72 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7089, allocations: 419.9 kB / 0.7204 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.71, allocations: 1.21 MB / 0.7216 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.7113, allocations: 1.353 MB / 0.7229 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.7128, allocations: 1.618 MB / 0.7245 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7128, allocations: 0 / 0.7245 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003811/0.7166, allocations: 3.456 MB / 0.7279 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.7166, allocations: 12 kB / 0.7279 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.7167, allocations: 4 kB / 0.7279 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.7167, allocations: 0 / 0.7279 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.7174, allocations: 151.7 kB / 0.728 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.7174, allocations: 4 kB / 0.728 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.7179, allocations: 248.2 kB / 0.7283 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.718, allocations: 59.98 kB / 0.7283 GB, free: 336 kB / 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.0001293/0.7181, allocations: 136.1 kB / 0.7284 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.7182, allocations: 62.78 kB / 0.7285 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009113/0.7191, allocations: 0.9361 MB / 0.7294 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7191, allocations: 0 / 0.7294 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7192, allocations: 7.953 kB / 0.7294 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7192, allocations: 0 / 0.7294 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.7196, allocations: 492.9 kB / 0.7299 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7196, allocations: 0 / 0.7299 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.7196, allocations: 11.94 kB / 0.7299 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7197, allocations: 8.016 kB / 0.7299 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7197, allocations: 0 / 0.7299 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.7197, allocations: 4 kB / 0.7299 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7197, allocations: 0 / 0.7299 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.7204, allocations: 1.016 MB / 0.7309 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.7205, allocations: 147.9 kB / 0.731 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.7206, allocations: 4 kB / 0.7311 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.7208, allocations: 11.98 kB / 0.7311 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.7208, allocations: 7.953 kB / 0.7311 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.7208, allocations: 15.97 kB / 0.7311 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006261/0.7215, allocations: 0.6505 MB / 0.7317 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7215, allocations: 0 / 0.7317 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00197/0.7235, allocations: 0.6944 MB / 0.7324 GB, free: 12.02 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) * 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.00314/0.7266, allocations: 2.308 MB / 0.7347 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.7287, allocations: 2.403 MB / 0.737 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7288, allocations: 0 / 0.737 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.729, allocations: 335.8 kB / 0.7373 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.7293, allocations: 34.2 kB / 0.7374 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.732, allocations: 1.893 MB / 0.7392 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.7324, allocations: 0.9852 MB / 0.7402 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.7326, allocations: 58.95 kB / 0.7402 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.733, allocations: 275.3 kB / 0.7405 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/0.733, allocations: 0 / 0.7405 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.7722, allocations: 20.89 MB / 0.7609 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.7725, allocations: 280.6 kB / 0.7611 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.454, allocations: 0 / 0.7611 GB, free: 14.6 MB / 0.5573 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)