Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.794/0.794, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 188.6 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 93.73 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 277.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.934e-05, allocations: 4 kB / 0.6767 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 82.77 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5716, allocations: 127.4 MB / 0.8819 GB, free: 408 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5719, allocations: 115.9 kB / 0.882 GB, free: 292 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4254/0.9974, allocations: 29.9 MB / 0.9112 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9974, allocations: 0 / 0.9112 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.9974, allocations: 14.03 kB / 0.9112 GB, free: 127.4 MB / 0.5573 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.002415/0.9999, allocations: 1.052 MB / 0.9123 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.9999, allocations: 7.531 kB / 0.9123 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/1, allocations: 101.9 kB / 0.9124 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/1.001, allocations: 472.4 kB / 0.9128 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/1.001, allocations: 3.375 kB / 0.9128 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/1.001, allocations: 18.47 kB / 0.9128 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003631/1.001, allocations: 429.7 kB / 0.9133 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/1.002, allocations: 382 kB / 0.9136 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.002, allocations: 0 / 0.9136 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/1.002, allocations: 0 / 0.9136 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.002, allocations: 0 / 0.9136 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/1.003, allocations: 0.7311 MB / 0.9143 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/1.003, allocations: 0.5531 MB / 0.9149 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/1.003, allocations: 329.9 kB / 0.9152 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/1.004, allocations: 1.035 MB / 0.9162 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/1.004, allocations: 399.8 kB / 0.9166 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.004, allocations: 1.844 kB / 0.9166 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0008038/1.005, allocations: 0.9642 MB / 0.9175 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.005, allocations: 87.06 kB / 0.9176 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/1.006, allocations: 1.06 MB / 0.9186 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/1.006, allocations: 25.7 kB / 0.9187 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.006, allocations: 284.9 kB / 0.9189 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/1.006, allocations: 23.59 kB / 0.919 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/1.006, allocations: 4.031 kB / 0.919 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.006, allocations: 423.8 kB / 0.9194 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/1.007, allocations: 1.191 MB / 0.9205 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/1.008, allocations: 1.325 MB / 0.9218 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.009, allocations: 1.581 MB / 0.9234 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.009, allocations: 3.953 kB / 0.9234 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002985/1.012, allocations: 3.391 MB / 0.9267 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.012, allocations: 8.031 kB / 0.9267 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.012, allocations: 0 / 0.9267 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.013, allocations: 4 kB / 0.9267 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.013, allocations: 143.7 kB / 0.9268 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.013, allocations: 3.797 kB / 0.9268 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/1.014, allocations: 232.2 kB / 0.9271 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/1.014, allocations: 55.75 kB / 0.9271 GB, free: 116.7 MB / 0.5573 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.0001095/1.014, allocations: 116.9 kB / 0.9272 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005641/1.014, allocations: 0.9631 MB / 0.9282 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/1.015, allocations: 74.69 kB / 0.9282 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/1.015, allocations: 0.9305 MB / 0.9291 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.015, allocations: 0 / 0.9291 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.015, allocations: 4 kB / 0.9291 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.015, allocations: 0 / 0.9291 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/1.016, allocations: 0.4916 MB / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.016, allocations: 0 / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/1.016, allocations: 8.031 kB / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.016, allocations: 7.75 kB / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.016, allocations: 0 / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/1.016, allocations: 3 kB / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.016, allocations: 4 kB / 0.9296 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/1.016, allocations: 1.013 MB / 0.9306 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/1.016, allocations: 162.5 kB / 0.9308 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/1.016, allocations: 8 kB / 0.9308 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/1.017, allocations: 7.984 kB / 0.9308 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/1.017, allocations: 7.438 kB / 0.9308 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/1.017, allocations: 11.97 kB / 0.9308 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004925/1.017, allocations: 0.64 MB / 0.9315 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 0 / 0.9315 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001624/1.019, allocations: 487.3 kB / 0.9319 GB, free: 112 MB / 0.5573 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.002358/1.021, allocations: 2.181 MB / 0.934 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.023, allocations: 2.326 MB / 0.9363 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.023, allocations: 0 / 0.9363 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/1.023, allocations: 335.8 kB / 0.9366 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.023, allocations: 56.64 kB / 0.9367 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.025, allocations: 1.841 MB / 0.9385 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.026, allocations: 1.001 MB / 0.9395 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001909/1.026, allocations: 59.27 kB / 0.9395 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.026, allocations: 299.3 kB / 0.9398 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of SimCode: time 3.6e-07/1.026, allocations: 0 / 0.9398 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/1.066, allocations: 17.95 MB / 0.9573 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/1.067, allocations: 250.9 kB / 0.9576 GB, free: 85.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.848, allocations: 3.25 kB / 0.9576 GB, free: 85.69 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)