Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 110 kB / 16.38 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.002047/0.002047, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7765/0.7765, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.77 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 80.21 MB / 0.6603 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002314/0.1567, allocations: 1.404 MB / 0.6617 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004328/0.1611, allocations: 3.028 MB / 0.6647 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1612, allocations: 3.938 kB / 0.6647 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1613, allocations: 3.938 kB / 0.6647 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1616, allocations: 39.77 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.164, allocations: 0.9933 MB / 0.6657 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1641, allocations: 79.75 kB / 0.6658 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1641, allocations: 11.97 kB / 0.6658 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1642, allocations: 39.84 kB / 0.6658 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1644, allocations: 157.6 kB / 0.666 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1645, allocations: 16 kB / 0.666 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.1664, allocations: 1.381 MB / 0.6673 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006033/0.167, allocations: 0.6874 MB / 0.668 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.1674, allocations: 437 kB / 0.6684 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.1692, allocations: 1.788 MB / 0.6702 GB, free: 272 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1692, allocations: 0 / 0.6702 GB, free: 272 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1692, allocations: 4 kB / 0.6702 GB, free: 268 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1693, allocations: 0 / 0.6702 GB, free: 268 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01022/0.1795, allocations: 1.69 MB / 0.6718 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1795, allocations: 13.11 kB / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.18, allocations: 139 kB / 0.672 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.1805, allocations: 0.5251 MB / 0.6725 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1805, allocations: 8.344 kB / 0.6725 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.1805, allocations: 11.88 kB / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.181, allocations: 387.2 kB / 0.6729 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.181, allocations: 0 / 0.6729 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.181, allocations: 4 kB / 0.6729 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.181, allocations: 3.938 kB / 0.6729 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1815, allocations: 435.7 kB / 0.6733 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.1822, allocations: 0.8073 MB / 0.6741 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.1827, allocations: 0.5672 MB / 0.6746 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.183, allocations: 341.5 kB / 0.675 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.184, allocations: 1.021 MB / 0.676 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.1844, allocations: 404.9 kB / 0.6763 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1844, allocations: 3.938 kB / 0.6763 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001313/0.1858, allocations: 1.339 MB / 0.6776 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1858, allocations: 89.03 kB / 0.6777 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.1875, allocations: 1.843 MB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.1876, allocations: 33.7 kB / 0.6796 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.1879, allocations: 469.3 kB / 0.68 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.188, allocations: 23.7 kB / 0.68 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.1883, allocations: 355.5 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1884, allocations: 301.1 kB / 0.6807 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.1896, allocations: 1.51 MB / 0.6821 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.1909, allocations: 1.646 MB / 0.6837 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/0.1977, allocations: 3.686 MB / 0.6873 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1977, allocations: 3.938 kB / 0.6873 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004229/0.202, allocations: 4.327 MB / 0.6916 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.202, allocations: 4 kB / 0.6916 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.202, allocations: 4 kB / 0.6916 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.202, allocations: 0 / 0.6916 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2022, allocations: 19.92 kB / 0.6916 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2022, allocations: 0 / 0.6916 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.2028, allocations: 232.3 kB / 0.6918 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.2028, allocations: 19.98 kB / 0.6918 GB, free: 9.359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0004375/0.2033, allocations: 370.4 kB / 0.6922 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2034, allocations: 126 kB / 0.6923 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.2037, allocations: 145 kB / 0.6925 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2037, allocations: 4 kB / 0.6925 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2037, allocations: 0 / 0.6925 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2037, allocations: 7.984 kB / 0.6925 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.2043, allocations: 0.6871 MB / 0.6931 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2043, allocations: 0 / 0.6931 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.2044, allocations: 12.03 kB / 0.6931 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2044, allocations: 0 / 0.6931 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2044, allocations: 3.984 kB / 0.6931 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2044, allocations: 4 kB / 0.6932 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2044, allocations: 0 / 0.6932 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.2053, allocations: 1.059 MB / 0.6942 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.2055, allocations: 195.1 kB / 0.6944 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.2056, allocations: 0 / 0.6944 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2058, allocations: 8 kB / 0.6944 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2059, allocations: 7.984 kB / 0.6944 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.2059, allocations: 15.92 kB / 0.6944 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001135/0.207, allocations: 1.104 MB / 0.6955 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.207, allocations: 0 / 0.6955 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001071/0.2081, allocations: 439.8 kB / 0.6959 GB, free: 5.051 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001069/0.2092, allocations: 474.8 kB / 0.6964 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.2115, allocations: 2.648 MB / 0.6989 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2115, allocations: 4 kB / 0.6989 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.2118, allocations: 339.8 kB / 0.6993 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.2122, allocations: 55.02 kB / 0.6993 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2151, allocations: 2.612 MB / 0.7019 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.2158, allocations: 1.153 MB / 0.703 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2159, allocations: 27.41 kB / 0.703 GB, free: 13.66 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.2159, allocations: 0 / 0.703 GB, free: 13.66 MB / 0.545 GB Notification: Performance of Templates: time 0.02398/0.2399, allocations: 15.05 MB / 0.7177 GB, free: 14.62 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)