Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001062/0.001062, allocations: 182.2 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-master/package.mo): time 0.6937/0.6937, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.336/1.336, allocations: 222.9 MB / 404.7 MB, free: 6.105 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.0009917/0.0009916, allocations: 103.3 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000985/0.000985, allocations: 59.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.118, allocations: 80.42 MB / 0.6422 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001738/0.1198, allocations: 0.6241 MB / 0.6428 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.121, allocations: 1.001 MB / 0.6438 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1211, allocations: 0 / 0.6438 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1211, allocations: 0 / 0.6438 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.1218, allocations: 71.88 kB / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.165e-05/0.1218, allocations: 19.91 kB / 0.6439 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.393e-05/0.1218, allocations: 3.938 kB / 0.6439 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.1219, allocations: 4 kB / 0.6439 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.1219, allocations: 0 / 0.6439 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1221, allocations: 35.97 kB / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.1221, allocations: 0 / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1223, allocations: 83.91 kB / 0.644 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.1223, allocations: 4 kB / 0.644 GB, free: 3.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.1223, allocations: 3.938 kB / 0.644 GB, free: 3.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1225, allocations: 67.91 kB / 0.644 GB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1225, allocations: 0 / 0.644 GB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1225, allocations: 0 / 0.644 GB, free: 3.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1225, allocations: 3.938 kB / 0.644 GB, free: 3.469 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.0003012/0.1228, allocations: 342.1 kB / 0.6444 GB, free: 3.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1228, allocations: 12.03 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1229, allocations: 4.922 kB / 0.6444 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.123, allocations: 160.4 kB / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.123, allocations: 384 / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.123, allocations: 7.938 kB / 0.6446 GB, free: 2.871 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.1231, allocations: 25.7 kB / 0.6446 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1231, allocations: 7.922 kB / 0.6446 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1231, allocations: 0 / 0.6446 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1231, allocations: 0 / 0.6446 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1231, allocations: 11.94 kB / 0.6446 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1235, allocations: 472.5 kB / 0.645 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.1236, allocations: 173.2 kB / 0.6452 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.1236, allocations: 80.14 kB / 0.6453 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1237, allocations: 79.28 kB / 0.6454 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.1237, allocations: 105.8 kB / 0.6455 GB, free: 1.836 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1237, allocations: 0 / 0.6455 GB, free: 1.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.459e-05/0.1238, allocations: 33.64 kB / 0.6455 GB, free: 1.797 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1238, allocations: 126.7 kB / 0.6456 GB, free: 1.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.1239, allocations: 101.8 kB / 0.6457 GB, free: 1.551 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1239, allocations: 25.7 kB / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.124, allocations: 88.05 kB / 0.6458 GB, free: 1.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.124, allocations: 0 / 0.6458 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.124, allocations: 17.72 kB / 0.6458 GB, free: 1.406 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1241, allocations: 314.8 kB / 0.6461 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.1241, allocations: 3.984 kB / 0.6461 GB, free: 1.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.1242, allocations: 8 kB / 0.6462 GB, free: 1.078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.1242, allocations: 4.859 kB / 0.6462 GB, free: 1.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1242, allocations: 4.062 kB / 0.6462 GB, free: 1.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.843e-05/0.1243, allocations: 37.64 kB / 0.6462 GB, free: 1.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1243, allocations: 4.938 kB / 0.6462 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1243, allocations: 0 / 0.6462 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.1243, allocations: 0 / 0.6462 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.304e-05/0.1243, allocations: 0 / 0.6462 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1243, allocations: 4 kB / 0.6462 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.1244, allocations: 0 / 0.6462 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1244, allocations: 0 / 0.6462 GB, free: 1.016 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.931e-05/0.1245, allocations: 198.4 kB / 0.6464 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.1245, allocations: 105 kB / 0.6465 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1246, allocations: 108 kB / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.597e-05/0.1246, allocations: 176.3 kB / 0.6468 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.597e-05/0.1247, allocations: 180.3 kB / 0.6469 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.1247, allocations: 192.3 kB / 0.6471 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.125, allocations: 401.2 kB / 0.6475 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/0.125, allocations: 108.9 kB / 0.6476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.125, allocations: 105 kB / 0.6477 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.696e-05/0.1251, allocations: 188.1 kB / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.1252, allocations: 176.3 kB / 0.6481 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-05/0.1252, allocations: 184.2 kB / 0.6482 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.494e-05/0.1253, allocations: 188.2 kB / 0.6484 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1256, allocations: 0.8375 MB / 0.6492 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1257, allocations: 190 kB / 0.6494 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.1258, allocations: 184.2 kB / 0.6496 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.1258, allocations: 104.9 kB / 0.6497 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.1259, allocations: 180.3 kB / 0.6499 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1259, allocations: 105 kB / 0.65 GB, free: 12.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.126, allocations: 79.28 kB / 0.65 GB, free: 12.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.126, allocations: 0 / 0.65 GB, free: 12.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.1263, allocations: 24 kB / 0.6501 GB, free: 12.81 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.0003129/0.1267, allocations: 240.1 kB / 0.6503 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.504e-05/0.1267, allocations: 4 kB / 0.6503 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1267, allocations: 0 / 0.6503 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1267, allocations: 0 / 0.6503 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1271, allocations: 0.5264 MB / 0.6508 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.1274, allocations: 201.9 kB / 0.651 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1276, allocations: 0.6731 MB / 0.6517 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.1276, allocations: 11.91 kB / 0.6517 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1277, allocations: 7.438 kB / 0.6517 GB, free: 11.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1277, allocations: 0 / 0.6517 GB, free: 11.1 MB / 458.7 MB Notification: Performance of Templates: time 0.002355/0.13, allocations: 0.6528 MB / 0.6523 GB, free: 10.48 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)