Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_Buildings_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6207, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002439/0.6232, allocations: 1.395 MB / 0.9511 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.6271, allocations: 3.022 MB / 0.9541 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.6271, allocations: 7.938 kB / 0.9541 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.6272, allocations: 9.641 kB / 0.9541 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.6274, allocations: 35.22 kB / 0.9541 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.6295, allocations: 0.9922 MB / 0.9551 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6296, allocations: 80.41 kB / 0.9552 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.6296, allocations: 4.25 kB / 0.9552 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.6297, allocations: 47.19 kB / 0.9552 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.6299, allocations: 142.7 kB / 0.9554 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.63, allocations: 11.34 kB / 0.9554 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.6316, allocations: 1.379 MB / 0.9567 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.6319, allocations: 268.9 kB / 0.957 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.6321, allocations: 273 kB / 0.9572 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.6335, allocations: 1.475 MB / 0.9587 GB, free: 3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6336, allocations: 1.25 kB / 0.9587 GB, free: 3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6336, allocations: 0 / 0.9587 GB, free: 3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6336, allocations: 0 / 0.9587 GB, free: 3 MB / 0.7169 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.009935/0.6435, allocations: 1.201 MB / 0.9598 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6436, allocations: 10.09 kB / 0.9599 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.6436, allocations: 32.12 kB / 0.9599 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.644, allocations: 87.38 kB / 0.96 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.6443, allocations: 369.6 kB / 0.9603 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6443, allocations: 3.281 kB / 0.9603 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.6444, allocations: 13.39 kB / 0.9603 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.6448, allocations: 390.6 kB / 0.9607 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6449, allocations: 0 / 0.9607 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6449, allocations: 1.094 kB / 0.9607 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6449, allocations: 5.031 kB / 0.9607 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.6454, allocations: 434.9 kB / 0.9611 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.6459, allocations: 0.627 MB / 0.9617 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.6466, allocations: 0.5615 MB / 0.9623 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.6469, allocations: 344.9 kB / 0.9626 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.6479, allocations: 1.024 MB / 0.9636 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.6484, allocations: 423 kB / 0.964 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.6484, allocations: 3.938 kB / 0.964 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001486/0.6499, allocations: 1.284 MB / 0.9653 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.65, allocations: 79.77 kB / 0.9654 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.6513, allocations: 1.209 MB / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.6514, allocations: 31.77 kB / 0.9666 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.6516, allocations: 257 kB / 0.9668 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.6517, allocations: 27.19 kB / 0.9668 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.652, allocations: 347.5 kB / 0.9672 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6522, allocations: 308.2 kB / 0.9675 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.6537, allocations: 1.362 MB / 0.9688 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.6553, allocations: 1.493 MB / 0.9703 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.662, allocations: 3.544 MB / 0.9737 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6621, allocations: 0 / 0.9737 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004059/0.6661, allocations: 3.965 MB / 0.9776 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6662, allocations: 9.094 kB / 0.9776 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6662, allocations: 4 kB / 0.9776 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.6662, allocations: 3.938 kB / 0.9776 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6664, allocations: 15.98 kB / 0.9776 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6664, allocations: 7.938 kB / 0.9776 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.667, allocations: 228.3 kB / 0.9778 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.6671, allocations: 23.98 kB / 0.9779 GB, free: 4.375 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003335/0.6674, allocations: 237.7 kB / 0.9781 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.6675, allocations: 70.7 kB / 0.9782 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.6678, allocations: 74.84 kB / 0.9782 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6678, allocations: 0 / 0.9782 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6679, allocations: 4 kB / 0.9782 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6679, allocations: 0 / 0.9782 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.6683, allocations: 496.8 kB / 0.9787 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6683, allocations: 7.969 kB / 0.9787 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.6684, allocations: 7.984 kB / 0.9787 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6684, allocations: 4 kB / 0.9787 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.6684, allocations: 0 / 0.9787 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6684, allocations: 0 / 0.9787 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6685, allocations: 7.984 kB / 0.9787 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.6693, allocations: 0.9935 MB / 0.9797 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.6695, allocations: 159.8 kB / 0.9799 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.6695, allocations: 7.984 kB / 0.9799 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.6697, allocations: 4 kB / 0.9799 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.6697, allocations: 3.984 kB / 0.9799 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.6698, allocations: 11.98 kB / 0.9799 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006537/0.6704, allocations: 0.6687 MB / 0.9805 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6704, allocations: 4 kB / 0.9805 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001221/0.6716, allocations: 395.8 kB / 0.9809 GB, free: 1.129 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/0.6739, allocations: 1.92 MB / 0.9828 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.676, allocations: 2.495 MB / 0.9852 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.6761, allocations: 4 kB / 0.9852 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.6764, allocations: 351.7 kB / 0.9856 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.6767, allocations: 32.44 kB / 0.9856 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.6909, allocations: 14.92 MB / 1 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.6915, allocations: 0.9717 MB / 1.001 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.6917, allocations: 44.62 kB / 1.001 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.6921, allocations: 263.3 kB / 1.001 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of SimCode: time 2.334e-06/0.6922, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.7378, allocations: 19.46 MB / 1.02 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/9.074, allocations: 6.562 kB / 1.02 GB, free: 8.621 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)