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.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 196.8 kB / 16.26 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.484/2.484, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7402, allocations: 140.4 MB / 0.9493 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002222/0.7425, allocations: 1.477 MB / 0.9507 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.746, allocations: 3.038 MB / 0.9537 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.7461, allocations: 4 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.7462, allocations: 5.125 kB / 0.9537 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.7464, allocations: 27.64 kB / 0.9537 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.7486, allocations: 0.8901 MB / 0.9546 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.7488, allocations: 85.67 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.7488, allocations: 3.594 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.7489, allocations: 47.12 kB / 0.9547 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.7491, allocations: 153 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.7491, allocations: 12.5 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.7509, allocations: 1.412 MB / 0.9562 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.7511, allocations: 268.6 kB / 0.9565 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.7513, allocations: 277.6 kB / 0.9568 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.7533, allocations: 1.494 MB / 0.9582 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7533, allocations: 1.156 kB / 0.9582 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7534, allocations: 0 / 0.9582 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7534, allocations: 0 / 0.9582 GB, free: 2.973 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.009367/0.7627, allocations: 1.197 MB / 0.9594 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7628, allocations: 10.47 kB / 0.9594 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.7628, allocations: 39.86 kB / 0.9594 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.7632, allocations: 87.94 kB / 0.9595 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.7636, allocations: 357.6 kB / 0.9599 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.7636, allocations: 10.55 kB / 0.9599 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.7636, allocations: 4.969 kB / 0.9599 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.7641, allocations: 395.6 kB / 0.9603 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7641, allocations: 0 / 0.9603 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7641, allocations: 1.312 kB / 0.9603 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7641, allocations: 5.375 kB / 0.9603 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.7645, allocations: 433.8 kB / 0.9607 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.7651, allocations: 0.6316 MB / 0.9613 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.7656, allocations: 0.5612 MB / 0.9618 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.7659, allocations: 337.4 kB / 0.9622 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009283/0.7669, allocations: 1.035 MB / 0.9632 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/0.7673, allocations: 410.7 kB / 0.9636 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.7673, allocations: 0 / 0.9636 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001347/0.7687, allocations: 1.288 MB / 0.9648 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.7687, allocations: 84.45 kB / 0.9649 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.7699, allocations: 1.204 MB / 0.9661 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.77, allocations: 27.8 kB / 0.9661 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.7702, allocations: 261.4 kB / 0.9664 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.7702, allocations: 19 kB / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.7706, allocations: 352.2 kB / 0.9667 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.7707, allocations: 315.2 kB / 0.967 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.7719, allocations: 1.356 MB / 0.9683 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.7732, allocations: 1.504 MB / 0.9698 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.7803, allocations: 3.536 MB / 0.9733 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7803, allocations: 0 / 0.9733 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004373/0.7847, allocations: 3.965 MB / 0.9771 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.7847, allocations: 8 kB / 0.9771 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.7848, allocations: 7.922 kB / 0.9771 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7848, allocations: 0 / 0.9771 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.7849, allocations: 16 kB / 0.9772 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7849, allocations: 4 kB / 0.9772 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.7857, allocations: 228.3 kB / 0.9774 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.7858, allocations: 23.98 kB / 0.9774 GB, free: 4.555 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.0003471/0.7861, allocations: 241.6 kB / 0.9776 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.7862, allocations: 70.66 kB / 0.9777 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.7865, allocations: 74.89 kB / 0.9778 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7865, allocations: 0 / 0.9778 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.7865, allocations: 4 kB / 0.9778 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7865, allocations: 0 / 0.9778 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.7871, allocations: 496.8 kB / 0.9783 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7871, allocations: 7.969 kB / 0.9783 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.7872, allocations: 4 kB / 0.9783 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.7872, allocations: 7.984 kB / 0.9783 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.7872, allocations: 7.984 kB / 0.9783 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7872, allocations: 3.938 kB / 0.9783 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7872, allocations: 4 kB / 0.9783 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.7881, allocations: 0.9974 MB / 0.9793 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7882, allocations: 155.8 kB / 0.9794 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.7883, allocations: 0 / 0.9794 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7884, allocations: 4 kB / 0.9794 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.7885, allocations: 11.98 kB / 0.9794 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.7885, allocations: 7.984 kB / 0.9794 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006394/0.7892, allocations: 0.6726 MB / 0.9801 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7892, allocations: 4 kB / 0.9801 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001467/0.7906, allocations: 391.8 kB / 0.9805 GB, free: 1.297 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.00237/0.793, allocations: 1.916 MB / 0.9823 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.7952, allocations: 2.503 MB / 0.9848 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7952, allocations: 0 / 0.9848 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.7955, allocations: 347.8 kB / 0.9851 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.7958, allocations: 46.06 kB / 0.9852 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.8097, allocations: 15.01 MB / 0.9998 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.8102, allocations: 0.9755 MB / 1.001 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.8104, allocations: 40.67 kB / 1.001 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.8107, allocations: 263.3 kB / 1.001 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of SimCode: time 4.41e-07/0.8107, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.8414, allocations: 19.33 MB / 1.02 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.8416, allocations: 302.4 kB / 1.02 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.463, allocations: 0 / 1.02 GB, free: 8.48 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)