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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004582/0.004582, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001126/0.001126, allocations: 192 kB / 16.67 MB, free: 5.973 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7678/0.7678, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 62.16 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001461/0.1246, allocations: 0.5504 MB / 0.6603 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1256, allocations: 0.9956 MB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.1256, allocations: 0 / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.1257, allocations: 3.938 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1263, allocations: 87.77 kB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.194e-05/0.1263, allocations: 12 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.1264, allocations: 11.98 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1264, allocations: 4 kB / 0.6613 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.1264, allocations: 4 kB / 0.6614 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1266, allocations: 36.78 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1266, allocations: 0 / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1268, allocations: 75.91 kB / 0.6615 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1268, allocations: 7.938 kB / 0.6615 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.1268, allocations: 0 / 0.6615 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.127, allocations: 63.86 kB / 0.6615 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.127, allocations: 3.984 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.113e-06/0.127, allocations: 0 / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.127, allocations: 4 kB / 0.6615 GB, free: 8.395 MB / 0.4981 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.0002759/0.1273, allocations: 337.7 kB / 0.6619 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1273, allocations: 12.03 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.1273, allocations: 0.9375 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1274, allocations: 168.3 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1275, allocations: 4.125 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.1275, allocations: 4 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.235e-05/0.1275, allocations: 29.64 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1276, allocations: 7.984 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1276, allocations: 0 / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1276, allocations: 0 / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.1276, allocations: 11.98 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1279, allocations: 460.6 kB / 0.6625 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.128, allocations: 169.2 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.128, allocations: 88.08 kB / 0.6628 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1281, allocations: 75.28 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.1281, allocations: 105.8 kB / 0.6629 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1281, allocations: 0 / 0.6629 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.615e-05/0.1282, allocations: 25.7 kB / 0.663 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1282, allocations: 134.7 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.1283, allocations: 101.9 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.1283, allocations: 29.64 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.1284, allocations: 80.14 kB / 0.6633 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.1284, allocations: 4 kB / 0.6633 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.1284, allocations: 13.72 kB / 0.6633 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1285, allocations: 318.8 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.1285, allocations: 3.938 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.1285, allocations: 4 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.1285, allocations: 8.922 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1286, allocations: 0 / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.492e-05/0.1286, allocations: 41.7 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1287, allocations: 4 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1287, allocations: 0 / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1287, allocations: 0 / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-05/0.1287, allocations: 3.984 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.1287, allocations: 0 / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1287, allocations: 7.953 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1287, allocations: 15.84 kB / 0.6637 GB, free: 5.926 MB / 0.4981 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 7.521e-05/0.1288, allocations: 181.1 kB / 0.6639 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1289, allocations: 101 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.1289, allocations: 108.1 kB / 0.6641 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/0.129, allocations: 180.2 kB / 0.6642 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/0.129, allocations: 188.2 kB / 0.6644 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/0.1291, allocations: 180.2 kB / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1293, allocations: 405.2 kB / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.1293, allocations: 101 kB / 0.6651 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.1294, allocations: 108.9 kB / 0.6652 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.207e-05/0.1294, allocations: 180.3 kB / 0.6654 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.1295, allocations: 188.4 kB / 0.6655 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-05/0.1295, allocations: 180.3 kB / 0.6657 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.166e-05/0.1296, allocations: 180.2 kB / 0.6659 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1297, allocations: 307.7 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1298, allocations: 190 kB / 0.6664 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.1298, allocations: 180.2 kB / 0.6665 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.1299, allocations: 101 kB / 0.6666 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.13, allocations: 184.2 kB / 0.6668 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.13, allocations: 105 kB / 0.6669 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.1301, allocations: 83.22 kB / 0.667 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 4 kB / 0.667 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002379/0.1303, allocations: 19.92 kB / 0.667 GB, free: 2.316 MB / 0.4981 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.0002892/0.1306, allocations: 234 kB / 0.6672 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.256e-05/0.1307, allocations: 11.94 kB / 0.6672 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1307, allocations: 4.062 kB / 0.6672 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1307, allocations: 0 / 0.6672 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.131, allocations: 452.2 kB / 0.6677 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.1313, allocations: 200.1 kB / 0.6679 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1315, allocations: 0.6729 MB / 0.6685 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.1315, allocations: 8 kB / 0.6685 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.1315, allocations: 15.42 kB / 0.6685 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1315, allocations: 3.938 kB / 0.6685 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of Templates: time 0.002212/0.1337, allocations: 0.6467 MB / 0.6692 GB, free: 72 kB / 0.4981 GB 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)