Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 190.1 kB / 16.14 MB, free: 6.688 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.56 kB / 0.9114 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2798, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001765/0.2816, allocations: 0.6346 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2829, allocations: 1.005 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.2829, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.2829, allocations: 3.938 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.2835, allocations: 87.84 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.016e-05/0.2836, allocations: 11.94 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.299e-05/0.2836, allocations: 4 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.2836, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.2837, allocations: 11.92 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2839, allocations: 39.95 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.2839, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.2841, allocations: 75.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2841, allocations: 7.984 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.2841, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2843, allocations: 71.84 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2843, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2843, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2843, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 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.0002909/0.2846, allocations: 347.8 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2846, allocations: 8.031 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.2847, allocations: 4.922 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2848, allocations: 164.4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2848, allocations: 384 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.2848, allocations: 384 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.2849, allocations: 29.83 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2849, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2849, allocations: 8 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2849, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.285, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.2854, allocations: 480.4 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.889e-05/0.2855, allocations: 169.1 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.2855, allocations: 80.14 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2856, allocations: 79.28 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.2856, allocations: 109.8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2856, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001265/0.2858, allocations: 33.64 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2858, allocations: 126.7 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.2859, allocations: 101.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2859, allocations: 29.7 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.286, allocations: 84.14 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.286, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.286, allocations: 13.72 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.2861, allocations: 314.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.2861, allocations: 7.984 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-06/0.2861, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.2862, allocations: 16.86 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2862, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.651e-05/0.2863, allocations: 33.64 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2863, allocations: 4 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.2863, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2863, allocations: 4 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.2863, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2863, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.2864, allocations: 4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2864, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.2865, allocations: 197.1 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2865, allocations: 105.2 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.2866, allocations: 111.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/0.2866, allocations: 180.2 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-05/0.2867, allocations: 188.3 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/0.2867, allocations: 188.2 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.287, allocations: 397.2 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/0.287, allocations: 112.9 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.287, allocations: 101 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-05/0.2871, allocations: 180.2 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.2871, allocations: 180.3 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.618e-05/0.2872, allocations: 184.3 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.695e-05/0.2873, allocations: 184.2 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2874, allocations: 311.7 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.2875, allocations: 185.9 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.2876, allocations: 184.2 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.2876, allocations: 109 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.2877, allocations: 176.3 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.2877, allocations: 104.9 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.2878, allocations: 83.28 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2878, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002556/0.2881, allocations: 23.98 kB / 1.075 GB, free: 2.836 MB / 0.8262 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 (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.0003648/0.2884, allocations: 228.6 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.419e-05/0.2885, allocations: 7.984 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2885, allocations: 0 / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2885, allocations: 0 / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2889, allocations: 0.536 MB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2892, allocations: 192.1 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2895, allocations: 0.6692 MB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.2895, allocations: 8 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.2896, allocations: 11.42 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2896, allocations: 3.938 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.002619/0.2922, allocations: 0.6684 MB / 1.077 GB, free: 0.5039 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)