Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 91.38 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.935e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.3 MB / 0.8854 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6087/0.784, allocations: 146.8 MB / 1.029 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.7843, allocations: 110.4 kB / 1.029 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.887, allocations: 24.87 MB / 1.053 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.393e-06/0.887, allocations: 0 / 1.053 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.952e-05/0.8871, allocations: 16 kB / 1.053 GB, free: 1.176 MB / 0.6667 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.002323/0.8894, allocations: 1.341 MB / 1.054 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8895, allocations: 12.03 kB / 1.054 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.8899, allocations: 161.9 kB / 1.055 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009203/0.8908, allocations: 0.6444 MB / 1.055 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.8908, allocations: 0 / 1.055 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.8909, allocations: 27.94 kB / 1.055 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003723/0.8913, allocations: 426.4 kB / 1.056 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.8917, allocations: 382.4 kB / 1.056 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8917, allocations: 3.938 kB / 1.056 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.8917, allocations: 0 / 1.056 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.8917, allocations: 3.953 kB / 1.056 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.8927, allocations: 0.9412 MB / 1.057 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.8931, allocations: 0.5483 MB / 1.057 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.8934, allocations: 329.4 kB / 1.058 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000938/0.8943, allocations: 1.039 MB / 1.059 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.8947, allocations: 387.7 kB / 1.059 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.8947, allocations: 0 / 1.059 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001045/0.8957, allocations: 1.024 MB / 1.06 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.8958, allocations: 89.08 kB / 1.06 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.8973, allocations: 1.521 MB / 1.062 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.8974, allocations: 32.83 kB / 1.062 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.8977, allocations: 477.6 kB / 1.062 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.8978, allocations: 22.59 kB / 1.062 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.8978, allocations: 0 / 1.062 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.898, allocations: 414.9 kB / 1.063 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.8994, allocations: 1.448 MB / 1.064 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.9008, allocations: 1.585 MB / 1.066 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.9026, allocations: 1.838 MB / 1.067 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9026, allocations: 0 / 1.067 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004348/0.9069, allocations: 3.972 MB / 1.071 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.907, allocations: 4 kB / 1.071 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.187e-05/0.9071, allocations: 20 kB / 1.071 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9071, allocations: 4 kB / 1.071 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.9078, allocations: 146.7 kB / 1.071 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.9078, allocations: 4 kB / 1.071 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.9087, allocations: 236.3 kB / 1.072 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.9088, allocations: 97.86 kB / 1.072 GB, free: 0.5 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001302/0.9089, allocations: 112.8 kB / 1.072 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008828/0.9098, allocations: 1.008 MB / 1.073 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9099, allocations: 121.6 kB / 1.073 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.911, allocations: 0.995 MB / 1.074 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.911, allocations: 4.031 kB / 1.074 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.911, allocations: 3.938 kB / 1.074 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.911, allocations: 4 kB / 1.074 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.9118, allocations: 0.65 MB / 1.075 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.9118, allocations: 0 / 1.075 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.9119, allocations: 11.98 kB / 1.075 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.9119, allocations: 3.984 kB / 1.075 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9119, allocations: 0 / 1.075 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.912, allocations: 4 kB / 1.075 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.912, allocations: 0 / 1.075 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.9129, allocations: 1.066 MB / 1.076 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.9131, allocations: 211 kB / 1.076 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.9133, allocations: 4 kB / 1.076 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.9136, allocations: 8 kB / 1.076 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.9136, allocations: 3.984 kB / 1.076 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.9137, allocations: 19.92 kB / 1.076 GB, free: 12.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001004/0.9147, allocations: 1.006 MB / 1.077 GB, free: 11.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9147, allocations: 0 / 1.077 GB, free: 11.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001556/0.9163, allocations: 0.514 MB / 1.077 GB, free: 11 MB / 0.698 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.00276/0.919, allocations: 2.14 MB / 1.079 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.9211, allocations: 2.468 MB / 1.082 GB, free: 7.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9211, allocations: 4 kB / 1.082 GB, free: 7.156 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.9214, allocations: 335.2 kB / 1.082 GB, free: 6.836 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.9217, allocations: 56 kB / 1.082 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.9251, allocations: 2.558 MB / 1.085 GB, free: 4.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.9259, allocations: 1.179 MB / 1.086 GB, free: 3.043 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.9264, allocations: 126.3 kB / 1.086 GB, free: 2.914 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.9268, allocations: 475.2 kB / 1.086 GB, free: 2.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.9268, allocations: 0 / 1.086 GB, free: 2.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.9762, allocations: 22.9 MB / 1.109 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.9765, allocations: 238.4 kB / 1.109 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.675, allocations: 0 / 1.109 GB, free: 11.66 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)