Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001682, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8106/0.8106, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 403.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009953, allocations: 101.6 kB / 484.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009936, allocations: 55.92 kB / 0.5619 GB, free: 70.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1263, allocations: 80.2 MB / 0.6402 GB, free: 6.688 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001718/0.1281, allocations: 0.6112 MB / 0.6408 GB, free: 6.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1293, allocations: 1 MB / 0.6418 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.1293, allocations: 0 / 0.6418 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1293, allocations: 0 / 0.6418 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.13, allocations: 79.84 kB / 0.6419 GB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.506e-05/0.13, allocations: 11.94 kB / 0.6419 GB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.491e-05/0.13, allocations: 7.938 kB / 0.6419 GB, free: 4.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.1301, allocations: 0 / 0.6419 GB, free: 4.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.1301, allocations: 7.984 kB / 0.6419 GB, free: 4.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1303, allocations: 31.97 kB / 0.6419 GB, free: 4.922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1303, allocations: 0 / 0.6419 GB, free: 4.922 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1305, allocations: 83.92 kB / 0.642 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-06/0.1305, allocations: 0 / 0.642 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.1305, allocations: 11.91 kB / 0.642 GB, free: 4.828 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1307, allocations: 63.92 kB / 0.6421 GB, free: 4.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1307, allocations: 4 kB / 0.6421 GB, free: 4.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1307, allocations: 0 / 0.6421 GB, free: 4.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1307, allocations: 0 / 0.6421 GB, free: 4.762 MB / 442.7 MB 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.0002813/0.131, allocations: 339.7 kB / 0.6424 GB, free: 4.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.131, allocations: 8.031 kB / 0.6424 GB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.131, allocations: 0.9375 kB / 0.6424 GB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.1311, allocations: 168.4 kB / 0.6426 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1312, allocations: 8.312 kB / 0.6426 GB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1312, allocations: 3.938 kB / 0.6426 GB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.1313, allocations: 33.69 kB / 0.6426 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1313, allocations: 0 / 0.6426 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1313, allocations: 3.938 kB / 0.6426 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1313, allocations: 4 kB / 0.6426 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.1313, allocations: 0 / 0.6426 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1317, allocations: 472.6 kB / 0.6431 GB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.1317, allocations: 173.1 kB / 0.6432 GB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1318, allocations: 80.14 kB / 0.6433 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1318, allocations: 79.28 kB / 0.6434 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1318, allocations: 109.8 kB / 0.6435 GB, free: 3.125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1318, allocations: 0 / 0.6435 GB, free: 3.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 8.863e-05/0.1319, allocations: 29.69 kB / 0.6435 GB, free: 3.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.132, allocations: 130.6 kB / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.1321, allocations: 97.86 kB / 0.6437 GB, free: 2.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.1321, allocations: 29.64 kB / 0.6438 GB, free: 2.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.1321, allocations: 92.05 kB / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.1321, allocations: 0 / 0.6439 GB, free: 2.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1322, allocations: 17.7 kB / 0.6439 GB, free: 2.691 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1323, allocations: 318.8 kB / 0.6442 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.1323, allocations: 0 / 0.6442 GB, free: 2.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.1323, allocations: 0 / 0.6442 GB, free: 2.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.1324, allocations: 8.859 kB / 0.6442 GB, free: 2.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1324, allocations: 4.062 kB / 0.6442 GB, free: 2.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.1e-05/0.1324, allocations: 29.7 kB / 0.6442 GB, free: 2.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1325, allocations: 7.938 kB / 0.6442 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1325, allocations: 7.984 kB / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1325, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.1325, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1325, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.1325, allocations: 4 kB / 0.6442 GB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1325, allocations: 0 / 0.6442 GB, free: 2.301 MB / 442.7 MB 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.901e-05/0.1326, allocations: 193.1 kB / 0.6444 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.1327, allocations: 101 kB / 0.6445 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.1327, allocations: 108 kB / 0.6446 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-05/0.1328, allocations: 184.2 kB / 0.6448 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/0.1329, allocations: 176.3 kB / 0.645 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/0.1329, allocations: 184.3 kB / 0.6451 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1332, allocations: 413.2 kB / 0.6455 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/0.1332, allocations: 108.9 kB / 0.6456 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1332, allocations: 101 kB / 0.6457 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.1333, allocations: 180.3 kB / 0.6459 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.1334, allocations: 184.2 kB / 0.6461 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-05/0.1334, allocations: 184.2 kB / 0.6463 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/0.1335, allocations: 184.2 kB / 0.6464 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1338, allocations: 0.8376 MB / 0.6473 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1339, allocations: 182.1 kB / 0.6474 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.1339, allocations: 196.1 kB / 0.6476 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.134, allocations: 105 kB / 0.6477 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1341, allocations: 180.4 kB / 0.6479 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.1341, allocations: 101 kB / 0.648 GB, free: 14.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.1342, allocations: 87.27 kB / 0.6481 GB, free: 14.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 0.6481 GB, free: 14.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.1345, allocations: 27.98 kB / 0.6481 GB, free: 14.09 MB / 458.7 MB 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.0003161/0.1348, allocations: 223.7 kB / 0.6483 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.1349, allocations: 3.938 kB / 0.6483 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1349, allocations: 0 / 0.6483 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.1349, allocations: 12.05 kB / 0.6483 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1353, allocations: 0.5185 MB / 0.6488 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.1356, allocations: 197.9 kB / 0.649 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1358, allocations: 0.6692 MB / 0.6497 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.1358, allocations: 11.91 kB / 0.6497 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.1359, allocations: 11.38 kB / 0.6497 GB, free: 12.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1359, allocations: 0 / 0.6497 GB, free: 12.39 MB / 458.7 MB Notification: Performance of Templates: time 0.00244/0.1383, allocations: 0.6485 MB / 0.6503 GB, free: 11.78 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)