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.001351/0.001352, allocations: 111.6 kB / 16.28 MB, free: 6.016 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.001319/0.00132, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.597/2.597, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 72.05 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3551, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002281/0.3575, allocations: 0.5608 MB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3591, allocations: 0.9992 MB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.3592, allocations: 0 / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.3592, allocations: 3.938 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008426/0.3601, allocations: 99.77 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.853e-05/0.3601, allocations: 11.98 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.3602, allocations: 15.88 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.3603, allocations: 0 / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.3603, allocations: 7.984 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.3605, allocations: 36.55 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3606, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3608, allocations: 83.92 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.3608, allocations: 0 / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3608, allocations: 0 / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.361, allocations: 79.84 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.361, allocations: 0 / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.373e-06/0.361, allocations: 4 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.361, allocations: 0 / 1.02 GB, free: 8.691 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.0003928/0.3614, allocations: 331.7 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3615, allocations: 16.88 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3615, allocations: 0.9375 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3617, allocations: 164.4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3617, allocations: 4.375 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3617, allocations: 8.359 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.893e-05/0.3618, allocations: 37.77 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3618, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3618, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3619, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.3619, allocations: 4 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3624, allocations: 468.6 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3625, allocations: 173.1 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.3625, allocations: 81.67 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3626, allocations: 75.28 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.3626, allocations: 109.8 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3626, allocations: 0 / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.172e-05/0.3627, allocations: 29.7 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.3628, allocations: 130.7 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3629, allocations: 101.8 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.363, allocations: 29.64 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.363, allocations: 84.05 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.363, allocations: 0 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.3631, allocations: 13.72 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3632, allocations: 314.8 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.3632, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.3632, allocations: 11.94 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.3633, allocations: 12.84 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3633, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.3634, allocations: 33.7 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3634, allocations: 7.938 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3634, allocations: 3.984 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3634, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.3635, allocations: 7.938 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3635, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.3635, allocations: 4.094 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3635, allocations: 0 / 1.022 GB, free: 6.234 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.0001153/0.3636, allocations: 189 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3637, allocations: 105 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.3638, allocations: 108.1 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-05/0.3638, allocations: 180.2 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.632e-05/0.3639, allocations: 180.3 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.043e-05/0.364, allocations: 188.2 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3643, allocations: 405.2 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.3644, allocations: 108.9 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.3644, allocations: 109 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.3645, allocations: 176.3 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.3646, allocations: 184.2 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.688e-05/0.3647, allocations: 176.5 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/0.3648, allocations: 188.2 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3649, allocations: 307.8 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.365, allocations: 186 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.3651, allocations: 176.3 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.3652, allocations: 108.9 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.3653, allocations: 184.2 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.3654, allocations: 101 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.3654, allocations: 83.45 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3655, allocations: 4 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002809/0.3657, allocations: 23.98 kB / 1.025 GB, free: 2.613 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.0004542/0.3662, allocations: 237.5 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.3663, allocations: 4 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3663, allocations: 8 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3663, allocations: 0 / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3667, allocations: 465.8 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.3671, allocations: 237.9 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3675, allocations: 0.669 MB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3675, allocations: 11.44 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3675, allocations: 0 / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of Templates: time 0.00274/0.3703, allocations: 0.8634 MB / 1.028 GB, free: 84 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)