Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_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.001376/0.001376, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001324/0.001324, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.1 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 72.14 kB / 0.87 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 151.6 MB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001985/0.3653, allocations: 0.5742 MB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3668, allocations: 0.9992 MB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.3668, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.3668, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000731/0.3676, allocations: 95.77 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.3676, allocations: 11.94 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.3677, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.3677, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.3677, allocations: 4 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.368, allocations: 44.53 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.368, allocations: 4 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.3682, allocations: 79.92 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.3682, allocations: 0 / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.3683, allocations: 7.984 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3685, allocations: 75.8 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3685, allocations: 0 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3685, allocations: 0 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3685, allocations: 0 / 1.02 GB, free: 8.645 MB / 0.795 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.0004284/0.3689, allocations: 335.7 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.369, allocations: 12.88 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.369, allocations: 8.922 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3692, allocations: 176.4 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3692, allocations: 384 / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3692, allocations: 384 / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.3693, allocations: 29.83 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3693, allocations: 4 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3693, allocations: 0 / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3694, allocations: 0 / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.3694, allocations: 0 / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3699, allocations: 480.5 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.37, allocations: 165.1 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.3701, allocations: 85.67 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.3701, allocations: 79.22 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.3702, allocations: 109.8 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3702, allocations: 4 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.774e-05/0.3703, allocations: 29.64 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.3704, allocations: 126.7 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3705, allocations: 101.8 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3705, allocations: 25.7 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.3706, allocations: 88.05 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.3706, allocations: 4 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3706, allocations: 9.719 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3708, allocations: 314.8 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.3708, allocations: 4 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.3708, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.3708, allocations: 12.84 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3709, allocations: 3.938 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.371, allocations: 33.73 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.371, allocations: 8 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.371, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.371, allocations: 4 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-05/0.3711, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3711, allocations: 3.984 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.3711, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3711, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 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 0.0001152/0.3712, allocations: 189.1 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.3713, allocations: 112.9 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.3714, allocations: 108.1 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-05/0.3715, allocations: 176.3 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-05/0.3716, allocations: 184.2 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.369e-05/0.3717, allocations: 176.3 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.3719, allocations: 417.1 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-05/0.372, allocations: 105 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.3721, allocations: 105 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.972e-05/0.3722, allocations: 180.2 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.3723, allocations: 176.3 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-05/0.3724, allocations: 184.4 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.265e-05/0.3725, allocations: 188.3 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.3726, allocations: 307.7 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3728, allocations: 178.1 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3729, allocations: 184.2 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.373, allocations: 105 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.3731, allocations: 184.4 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.3731, allocations: 108.9 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.3732, allocations: 87.2 kB / 1.025 GB, free: 2.578 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3732, allocations: 0 / 1.025 GB, free: 2.578 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002741/0.3735, allocations: 24 kB / 1.025 GB, free: 2.555 MB / 0.795 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.0004304/0.3739, allocations: 228.6 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.374, allocations: 3.938 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.374, allocations: 0 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.374, allocations: 0 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3744, allocations: 476.5 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.3749, allocations: 239.2 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3752, allocations: 0.669 MB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.3753, allocations: 11.44 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3753, allocations: 0 / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of Templates: time 0.002623/0.3779, allocations: 0.8642 MB / 1.028 GB, free: 32 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)