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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001123/0.001123, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4825/0.4825, allocations: 90.91 MB / 99.34 MB, free: 2.199 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.36/1.36, allocations: 221.5 MB / 343.2 MB, free: 1.594 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.0007982/0.0007982, allocations: 95.27 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.717e-05, allocations: 4 kB / 494.6 MB, free: 52.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 72.31 MB / 0.5537 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.56, allocations: 128.8 MB / 0.6794 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5604, allocations: 114.5 kB / 0.6795 GB, free: 13.66 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.1295/0.6899, allocations: 38.2 MB / 0.7168 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.589e-06/0.6899, allocations: 0 / 0.7168 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.6899, allocations: 19.88 kB / 0.7169 GB, free: 12.79 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.002357/0.6923, allocations: 1.149 MB / 0.718 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6924, allocations: 8.031 kB / 0.718 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.6928, allocations: 110.6 kB / 0.7181 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007746/0.6936, allocations: 473.9 kB / 0.7186 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6936, allocations: 0 / 0.7186 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.6937, allocations: 24 kB / 0.7186 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003603/0.694, allocations: 423.7 kB / 0.719 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.6944, allocations: 383.1 kB / 0.7193 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6944, allocations: 0 / 0.7193 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6944, allocations: 4 kB / 0.7193 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6944, allocations: 7.984 kB / 0.7194 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008389/0.6953, allocations: 0.7226 MB / 0.7201 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.6958, allocations: 0.5555 MB / 0.7206 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.6961, allocations: 329.7 kB / 0.7209 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.6971, allocations: 1.032 MB / 0.7219 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.6975, allocations: 396.9 kB / 0.7223 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.6975, allocations: 0 / 0.7223 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009556/0.6985, allocations: 0.9764 MB / 0.7233 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.6985, allocations: 85.06 kB / 0.7233 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.6997, allocations: 1.072 MB / 0.7244 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.6998, allocations: 25.7 kB / 0.7244 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.7001, allocations: 286 kB / 0.7247 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.7001, allocations: 19.8 kB / 0.7247 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.7001, allocations: 0 / 0.7247 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7003, allocations: 423.9 kB / 0.7251 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7016, allocations: 1.206 MB / 0.7263 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.7029, allocations: 1.332 MB / 0.7276 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.7048, allocations: 1.606 MB / 0.7292 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.7048, allocations: 0 / 0.7292 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004404/0.7092, allocations: 3.425 MB / 0.7325 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7093, allocations: 4 kB / 0.7325 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.7093, allocations: 4 kB / 0.7325 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.7093, allocations: 4 kB / 0.7325 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.71, allocations: 151.8 kB / 0.7327 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.71, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.7106, allocations: 236.2 kB / 0.7329 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.7107, allocations: 55.98 kB / 0.7329 GB, free: 11.8 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 () * 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.0001388/0.7108, allocations: 120.8 kB / 0.733 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008158/0.7117, allocations: 0.9648 MB / 0.734 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.7117, allocations: 74.59 kB / 0.7341 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.7126, allocations: 0.9369 MB / 0.735 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7126, allocations: 0 / 0.735 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7126, allocations: 3.953 kB / 0.735 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7126, allocations: 4 kB / 0.735 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.7131, allocations: 497.3 kB / 0.7355 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7131, allocations: 3.938 kB / 0.7355 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.7132, allocations: 11.92 kB / 0.7355 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7132, allocations: 4 kB / 0.7355 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7133, allocations: 4 kB / 0.7355 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7133, allocations: 4.031 kB / 0.7355 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7133, allocations: 4 kB / 0.7355 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.7141, allocations: 1.001 MB / 0.7365 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.7142, allocations: 159.8 kB / 0.7366 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.7143, allocations: 0 / 0.7366 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.7144, allocations: 11.98 kB / 0.7366 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.7145, allocations: 15.88 kB / 0.7366 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.7145, allocations: 7.984 kB / 0.7367 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006726/0.7152, allocations: 0.6443 MB / 0.7373 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.765e-06/0.7152, allocations: 0 / 0.7373 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002099/0.7173, allocations: 0.6983 MB / 0.738 GB, free: 6.539 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.004021/0.7213, allocations: 2.422 MB / 0.7403 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.7234, allocations: 2.382 MB / 0.7427 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7234, allocations: 0 / 0.7427 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.7237, allocations: 327.8 kB / 0.743 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.724, allocations: 62.23 kB / 0.743 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.7268, allocations: 1.938 MB / 0.7449 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.7273, allocations: 1.005 MB / 0.7459 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000201/0.7275, allocations: 63.27 kB / 0.746 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.7278, allocations: 295.3 kB / 0.7462 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.7278, allocations: 0 / 0.7462 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/0.7759, allocations: 22 MB / 0.7677 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.7762, allocations: 263.5 kB / 0.768 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.533, allocations: 0 / 0.768 GB, free: 7.699 MB / 0.5573 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)