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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 100.1 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.582/1.582, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.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.0005653/0.0005654, allocations: 24 kB / 0.6242 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5282, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007628/0.529, allocations: 299.1 kB / 0.7283 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.5302, allocations: 0.9321 MB / 0.7292 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.5302, allocations: 4 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.5302, allocations: 0 / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.5308, allocations: 87.78 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.633e-05/0.5309, allocations: 4 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.5309, allocations: 3.984 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.68e-05/0.531, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.531, allocations: 8 kB / 0.7293 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.5312, allocations: 35.97 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.5312, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.5313, allocations: 47.95 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.5314, allocations: 7.938 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.5314, allocations: 25.7 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.5315, allocations: 43.94 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.5315, allocations: 3.938 kB / 0.7295 GB, free: 9.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5315, allocations: 4 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5315, allocations: 0 / 0.7295 GB, free: 9.961 MB / 0.545 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.0003955/0.5319, allocations: 337.3 kB / 0.7298 GB, free: 9.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.532, allocations: 8.031 kB / 0.7298 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.532, allocations: 4 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.5322, allocations: 163 kB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5322, allocations: 3.984 kB / 0.73 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.5322, allocations: 0 / 0.73 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.5323, allocations: 33.69 kB / 0.73 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5323, allocations: 0 / 0.73 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.5323, allocations: 3.938 kB / 0.73 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.5323, allocations: 4 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.5324, allocations: 7.938 kB / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.5328, allocations: 460.6 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.5329, allocations: 173.1 kB / 0.7306 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.5329, allocations: 75.31 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.533, allocations: 113.8 kB / 0.7308 GB, free: 8.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.533, allocations: 0 / 0.7308 GB, free: 8.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.053e-05/0.5331, allocations: 33.62 kB / 0.7308 GB, free: 8.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5331, allocations: 126.7 kB / 0.731 GB, free: 8.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.5332, allocations: 101.9 kB / 0.7311 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5333, allocations: 25.7 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.5333, allocations: 80.14 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.5333, allocations: 7.984 kB / 0.7312 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5333, allocations: 0 / 0.7312 GB, free: 8.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5334, allocations: 318.8 kB / 0.7315 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.5334, allocations: 0 / 0.7315 GB, free: 7.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.5335, allocations: 4 kB / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.57e-05/0.5335, allocations: 4 kB / 0.7315 GB, free: 7.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5335, allocations: 0 / 0.7315 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.027e-05/0.5336, allocations: 41.55 kB / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5336, allocations: 13.91 kB / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5336, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5336, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-05/0.5336, allocations: 0 / 0.7315 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5337, allocations: 3.984 kB / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.5337, allocations: 4 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5337, allocations: 0 / 0.7315 GB, free: 7.621 MB / 0.545 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.04e-05/0.5338, allocations: 189 kB / 0.7317 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.5338, allocations: 105 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.5339, allocations: 116 kB / 0.7319 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/0.534, allocations: 176.3 kB / 0.7321 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.534, allocations: 184.2 kB / 0.7323 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-05/0.5341, allocations: 176.3 kB / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5343, allocations: 405.2 kB / 0.7328 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/0.5344, allocations: 112.9 kB / 0.7329 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.774e-05/0.5345, allocations: 101 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.5346, allocations: 184.2 kB / 0.7332 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.5347, allocations: 180.3 kB / 0.7334 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.215e-05/0.5347, allocations: 176.5 kB / 0.7335 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-05/0.5348, allocations: 188.2 kB / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.5349, allocations: 315.8 kB / 0.734 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.535, allocations: 190 kB / 0.7342 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.5351, allocations: 184.2 kB / 0.7344 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.5351, allocations: 101 kB / 0.7345 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.5352, allocations: 184.3 kB / 0.7347 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5353, allocations: 104.9 kB / 0.7348 GB, free: 4.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.5354, allocations: 83.45 kB / 0.7348 GB, free: 4.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5354, allocations: 0 / 0.7348 GB, free: 4.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002496/0.5356, allocations: 20 kB / 0.7348 GB, free: 3.996 MB / 0.545 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.0003715/0.536, allocations: 220 kB / 0.7351 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.745e-05/0.5361, allocations: 4 kB / 0.7351 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5361, allocations: 0 / 0.7351 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5361, allocations: 3.938 kB / 0.7351 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.5364, allocations: 0.5355 MB / 0.7356 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.5367, allocations: 152.7 kB / 0.7357 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.537, allocations: 0.677 MB / 0.7364 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.537, allocations: 0 / 0.7364 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.537, allocations: 11.44 kB / 0.7364 GB, free: 2.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.537, allocations: 0 / 0.7364 GB, free: 2.336 MB / 0.545 GB Notification: Performance of Templates: time 0.003645/0.5407, allocations: 0.6393 MB / 0.737 GB, free: 1.742 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: