Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009223/0.000922, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0008289/0.0008288, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000497/0.000497, allocations: 14.62 kB / 0.6736 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 116.3 MB / 0.7872 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007127/0.25, allocations: 298 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.251, allocations: 0.9305 MB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2511, allocations: 3.938 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.2511, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.2517, allocations: 79.84 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.012e-05/0.2518, allocations: 4 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.2518, allocations: 7.984 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.2519, allocations: 0 / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.2519, allocations: 4 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2521, allocations: 39.89 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2521, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2522, allocations: 55.89 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.2522, allocations: 4 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.2522, allocations: 25.7 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2524, allocations: 43.94 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2524, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2524, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2524, allocations: 8 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002936/0.2527, allocations: 323.7 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2527, allocations: 12.02 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2528, allocations: 4 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2529, allocations: 163 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2529, allocations: 4 kB / 0.7891 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2529, allocations: 0 / 0.7891 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.253, allocations: 33.64 kB / 0.7891 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.253, allocations: 4 kB / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.253, allocations: 0 / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.253, allocations: 0 / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.2531, allocations: 0 / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.2535, allocations: 472.5 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.2536, allocations: 169.1 kB / 0.7897 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2536, allocations: 87.16 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.2536, allocations: 113.8 kB / 0.7899 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2537, allocations: 0 / 0.7899 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.648e-05/0.2537, allocations: 29.69 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.2538, allocations: 126.7 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.2539, allocations: 101.8 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2539, allocations: 33.7 kB / 0.7902 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.254, allocations: 80.14 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.254, allocations: 0 / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.254, allocations: 0 / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2541, allocations: 314.8 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.2541, allocations: 0 / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.2541, allocations: 4 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.2541, allocations: 3.938 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2541, allocations: 0 / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.764e-05/0.2542, allocations: 45.75 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2543, allocations: 4 kB / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2543, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2543, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.2543, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2543, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.2543, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2544, allocations: 4 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.089e-05/0.2544, allocations: 189.1 kB / 0.7908 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.2545, allocations: 108.9 kB / 0.7909 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.2546, allocations: 108.1 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.554e-05/0.2546, allocations: 180.3 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.901e-05/0.2547, allocations: 180.2 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.244e-05/0.2548, allocations: 176.3 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.255, allocations: 413.2 kB / 0.7919 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.255, allocations: 109 kB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.2551, allocations: 101 kB / 0.7921 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-05/0.2551, allocations: 188.2 kB / 0.7923 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.2552, allocations: 180.3 kB / 0.7925 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.522e-05/0.2553, allocations: 180.2 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-05/0.2553, allocations: 180.3 kB / 0.7928 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2555, allocations: 315.6 kB / 0.7931 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.2555, allocations: 186 kB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.2556, allocations: 180.2 kB / 0.7935 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.2557, allocations: 113 kB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.2558, allocations: 184.2 kB / 0.7938 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.2558, allocations: 101 kB / 0.7939 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.2558, allocations: 83.22 kB / 0.794 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2558, allocations: 0 / 0.794 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002531/0.2561, allocations: 19.98 kB / 0.794 GB, free: 4.484 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003312/0.2564, allocations: 231.2 kB / 0.7942 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.713e-05/0.2565, allocations: 4 kB / 0.7942 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2565, allocations: 0 / 0.7942 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-06/0.2565, allocations: 3.938 kB / 0.7942 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2568, allocations: 0.5231 MB / 0.7947 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.257, allocations: 161.9 kB / 0.7949 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2572, allocations: 0.677 MB / 0.7955 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.2573, allocations: 336 / 0.7955 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.2573, allocations: 11.44 kB / 0.7955 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2573, allocations: 4 kB / 0.7955 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.002501/0.2598, allocations: 0.6254 MB / 0.7961 GB, free: 2.227 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: