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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 107.2 kB / 16.41 MB, free: 6.484 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.001169/0.001169, allocations: 193.4 kB / 17.34 MB, free: 5.762 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7016/0.7016, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 65.28 kB / 0.5863 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001378/0.1219, allocations: 0.5508 MB / 0.6659 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.1229, allocations: 0.9918 MB / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.1229, allocations: 4 kB / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1229, allocations: 0 / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.1235, allocations: 87.78 kB / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-05/0.1235, allocations: 15.92 kB / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.1236, allocations: 4 kB / 0.667 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.1236, allocations: 4 kB / 0.667 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.1236, allocations: 4 kB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1238, allocations: 27.97 kB / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1238, allocations: 0 / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.124, allocations: 87.84 kB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.124, allocations: 4 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.124, allocations: 4 kB / 0.6671 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1242, allocations: 67.86 kB / 0.6672 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1242, allocations: 0 / 0.6672 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1242, allocations: 0 / 0.6672 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1242, allocations: 0 / 0.6672 GB, free: 3.922 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.0002627/0.1244, allocations: 339.4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1245, allocations: 13.11 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.1245, allocations: 0.9375 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.1246, allocations: 168.4 kB / 0.6676 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1246, allocations: 8.125 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.1246, allocations: 0 / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.29e-05/0.1247, allocations: 29.7 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1247, allocations: 3.938 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1247, allocations: 0 / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1247, allocations: 0 / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.1248, allocations: 7.938 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1251, allocations: 472.5 kB / 0.6681 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.1252, allocations: 165.1 kB / 0.6683 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.1252, allocations: 84.17 kB / 0.6684 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1252, allocations: 75.28 kB / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1253, allocations: 105.8 kB / 0.6686 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1253, allocations: 4 kB / 0.6686 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.682e-05/0.1253, allocations: 29.64 kB / 0.6686 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1254, allocations: 126.7 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.1254, allocations: 105.8 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.1255, allocations: 25.7 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.1255, allocations: 84.05 kB / 0.6689 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.1255, allocations: 0 / 0.6689 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.1255, allocations: 17.72 kB / 0.6689 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.1256, allocations: 318.8 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-06/0.1256, allocations: 0 / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.1257, allocations: 3.984 kB / 0.6692 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.1257, allocations: 8.859 kB / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1257, allocations: 3.938 kB / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.078e-05/0.1258, allocations: 33.7 kB / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1258, allocations: 6.031 kB / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1258, allocations: 4.094 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1258, allocations: 0 / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.278e-05/0.1258, allocations: 3.938 kB / 0.6693 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1258, allocations: 4 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.1258, allocations: 0 / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1259, allocations: 7.938 kB / 0.6693 GB, free: 1.465 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.304e-05/0.1259, allocations: 189.1 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.126, allocations: 104.9 kB / 0.6696 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.126, allocations: 112.1 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/0.1261, allocations: 176.3 kB / 0.6699 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.821e-05/0.1261, allocations: 180.2 kB / 0.67 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/0.1262, allocations: 184.2 kB / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1264, allocations: 405.1 kB / 0.6706 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-05/0.1264, allocations: 105 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1265, allocations: 105 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.913e-05/0.1265, allocations: 184.2 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.1266, allocations: 184.5 kB / 0.6711 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/0.1266, allocations: 184.2 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-05/0.1267, allocations: 180.2 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1268, allocations: 315.7 kB / 0.6718 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1269, allocations: 182.1 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.1269, allocations: 180.2 kB / 0.6721 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.127, allocations: 105 kB / 0.6722 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.127, allocations: 180.3 kB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.1271, allocations: 108.9 kB / 0.6725 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.1271, allocations: 91.39 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1271, allocations: 0 / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002277/0.1273, allocations: 19.98 kB / 0.6726 GB, free: 13.84 MB / 0.5137 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.0002946/0.1276, allocations: 225.2 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.974e-05/0.1277, allocations: 4 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1277, allocations: 0 / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.1277, allocations: 3.938 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.128, allocations: 467.6 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.1283, allocations: 229.8 kB / 0.6735 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.1285, allocations: 0.6728 MB / 0.6742 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1285, allocations: 11.44 kB / 0.6742 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1285, allocations: 0 / 0.6742 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.001969/0.1305, allocations: 0.8583 MB / 0.675 GB, free: 11.32 MB / 0.5137 GB 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)