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.ShaGFunction.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 179.5 kB / 327.6 MB, free: 2.156 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.415/1.415, allocations: 205.4 MB / 0.5785 GB, free: 20.26 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.0006897/0.0006898, allocations: 82.06 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 12.75 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 106.3 MB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.3417, allocations: 133.3 MB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.3421, allocations: 107.9 kB / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004486/0.3466, allocations: 1.957 MB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3466, allocations: 3.938 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3466, allocations: 0 / 1.033 GB, free: 8.09 MB / 0.6823 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.000258/0.3469, allocations: 336 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3469, allocations: 8.031 kB / 1.034 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3469, allocations: 8.875 kB / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.347, allocations: 168.4 kB / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3471, allocations: 384 / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.3471, allocations: 384 / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.3472, allocations: 34.27 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3472, allocations: 192 / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3472, allocations: 3.938 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3472, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.3472, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.3476, allocations: 472.6 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.994e-05/0.3477, allocations: 177 kB / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.3477, allocations: 84.14 kB / 1.035 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3477, allocations: 75.28 kB / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3478, allocations: 109.8 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3478, allocations: 0 / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.372e-05/0.3478, allocations: 29.64 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3479, allocations: 130.7 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.348, allocations: 101.8 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.348, allocations: 29.7 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.348, allocations: 80.14 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3481, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.3481, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.3482, allocations: 310.8 kB / 1.036 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.3482, allocations: 3.938 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.3482, allocations: 8 kB / 1.036 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.3482, allocations: 8.859 kB / 1.036 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3482, allocations: 0 / 1.036 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.712e-05/0.3483, allocations: 45.56 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3483, allocations: 4 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3483, allocations: 0 / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.3484, allocations: 0 / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.39e-05/0.3484, allocations: 192 / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3484, allocations: 4.094 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.3484, allocations: 4 kB / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3484, allocations: 0 / 1.036 GB, free: 5.656 MB / 0.6823 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 7.962e-05/0.3485, allocations: 185.1 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.3486, allocations: 108.9 kB / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.3486, allocations: 120.1 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.305e-05/0.3487, allocations: 180.3 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-05/0.3487, allocations: 184.2 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/0.3488, allocations: 180.3 kB / 1.037 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.349, allocations: 405.2 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.349, allocations: 104.9 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.3491, allocations: 105 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.512e-05/0.3491, allocations: 184.2 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.3492, allocations: 180.2 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-05/0.3492, allocations: 176.3 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-05/0.3493, allocations: 184.2 kB / 1.038 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.3494, allocations: 307.7 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.3495, allocations: 186.1 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.3496, allocations: 180.3 kB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3497, allocations: 112.9 kB / 1.039 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.3497, allocations: 180.2 kB / 1.039 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.3498, allocations: 108.9 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.3498, allocations: 83.28 kB / 1.039 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3498, allocations: 0 / 1.039 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002621/0.3501, allocations: 27.94 kB / 1.039 GB, free: 2.023 MB / 0.6823 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.0003623/0.3505, allocations: 238.5 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.369e-05/0.3505, allocations: 0 / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3505, allocations: 4.062 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3505, allocations: 0 / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3509, allocations: 0.5262 MB / 1.04 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3512, allocations: 198.4 kB / 1.04 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3514, allocations: 0.677 MB / 1.041 GB, free: 332 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.3514, allocations: 4 kB / 1.041 GB, free: 328 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.3514, allocations: 7.438 kB / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3514, allocations: 0 / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of Templates: time 0.002459/0.3539, allocations: 0.6414 MB / 1.041 GB, free: 15.72 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)