Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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/Buildings 8.0.0/package.mo): time 1.635/1.635, allocations: 287.4 MB / 302.6 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 178.6 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.2 kB / 0.7431 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004031, allocations: 15.16 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2284, allocations: 115.3 MB / 0.9788 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001389/0.2299, allocations: 1.119 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2333, allocations: 2.86 MB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.2333, allocations: 3.938 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2334, allocations: 3.938 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.2336, allocations: 27.89 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.2351, allocations: 0.7545 MB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.2352, allocations: 95.7 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.2352, allocations: 4.281 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.2353, allocations: 35.86 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2354, allocations: 167.7 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.2355, allocations: 16 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.2369, allocations: 1.299 MB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.237, allocations: 259.3 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.2371, allocations: 113.2 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.2379, allocations: 0.9783 MB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2379, allocations: 0 / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2379, allocations: 4 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2379, allocations: 0 / 0.9863 GB, free: 20.26 MB / 0.6198 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.008826/0.2467, allocations: 1.156 MB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2468, allocations: 8.031 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2468, allocations: 30.75 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.2471, allocations: 83.77 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2474, allocations: 368.8 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2475, allocations: 4.359 kB / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2475, allocations: 16.3 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.2478, allocations: 387.3 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2478, allocations: 0 / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2479, allocations: 7.984 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2479, allocations: 0 / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.2482, allocations: 435.8 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.2486, allocations: 0.6247 MB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.249, allocations: 0.5672 MB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2492, allocations: 333.7 kB / 0.9902 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/0.25, allocations: 1.04 MB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.2504, allocations: 416.8 kB / 0.9916 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.2504, allocations: 0 / 0.9916 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.2514, allocations: 1.289 MB / 0.9929 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2515, allocations: 77.11 kB / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.2523, allocations: 1.202 MB / 0.9941 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.2524, allocations: 25.7 kB / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.2525, allocations: 261.3 kB / 0.9944 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.2525, allocations: 19.8 kB / 0.9944 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.2526, allocations: 4 kB / 0.9944 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2527, allocations: 415.8 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.2535, allocations: 1.357 MB / 0.9961 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009248/0.2545, allocations: 1.501 MB / 0.9976 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/0.2621, allocations: 3.502 MB / 1.001 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2621, allocations: 0 / 1.001 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00377/0.2659, allocations: 3.953 MB / 1.005 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2659, allocations: 7.984 kB / 1.005 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.266, allocations: 4 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.266, allocations: 0 / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2662, allocations: 16 kB / 1.005 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2662, allocations: 7.984 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.2667, allocations: 224.3 kB / 1.005 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.2668, allocations: 23.98 kB / 1.005 GB, free: 328 kB / 0.6198 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.267, allocations: 246.9 kB / 1.005 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.267, allocations: 66.72 kB / 1.005 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.2673, allocations: 78.88 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2673, allocations: 0 / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2674, allocations: 4 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2674, allocations: 0 / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.2678, allocations: 492.8 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2678, allocations: 7.969 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.2679, allocations: 7.984 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2679, allocations: 4 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2679, allocations: 0 / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2679, allocations: 3.938 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2679, allocations: 4 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.2688, allocations: 1.002 MB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2689, allocations: 155.8 kB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.269, allocations: 4 kB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2691, allocations: 11.92 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.2692, allocations: 0 / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.2692, allocations: 19.97 kB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006847/0.2699, allocations: 0.6531 MB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2699, allocations: 4 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001061/0.271, allocations: 395.9 kB / 1.008 GB, free: 13.07 MB / 0.6355 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 (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.002127/0.2731, allocations: 1.925 MB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.2753, allocations: 2.488 MB / 1.013 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2753, allocations: 0 / 1.013 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.2757, allocations: 347.8 kB / 1.013 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.276, allocations: 36.5 kB / 1.013 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009833/0.2858, allocations: 9.575 MB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.2864, allocations: 0.9679 MB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.2866, allocations: 36.55 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.2869, allocations: 259.3 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/0.2869, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.5001, allocations: 18.57 MB / 1.042 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/0.5005, allocations: 277.7 kB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.478, allocations: 7.797 kB / 1.042 GB, free: 10.51 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)