Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00677/0.00677, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001532/0.001532, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.356/1.356, 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-master/package.mo): time 0.8524/0.8524, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 72.48 kB / 0.5858 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1561, allocations: 81.02 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003133/0.1593, allocations: 1.415 MB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005151/0.1645, allocations: 3.012 MB / 0.6692 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1646, allocations: 3.938 kB / 0.6692 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1647, allocations: 11.88 kB / 0.6693 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1651, allocations: 27.83 kB / 0.6693 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.168, allocations: 0.9975 MB / 0.6703 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1681, allocations: 79.8 kB / 0.6703 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1682, allocations: 4 kB / 0.6703 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.1683, allocations: 51.77 kB / 0.6704 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1685, allocations: 139.6 kB / 0.6705 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1686, allocations: 16 kB / 0.6705 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.1711, allocations: 1.369 MB / 0.6719 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.1713, allocations: 263.8 kB / 0.6721 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.1716, allocations: 286.3 kB / 0.6724 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.1739, allocations: 1.479 MB / 0.6738 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1739, allocations: 0 / 0.6738 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1739, allocations: 0 / 0.6738 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1739, allocations: 0 / 0.6738 GB, free: 12.43 MB / 0.5137 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.01043/0.1844, allocations: 1.247 MB / 0.6751 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1844, allocations: 11.97 kB / 0.6751 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.1845, allocations: 34.75 kB / 0.6751 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.1848, allocations: 100.2 kB / 0.6752 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1853, allocations: 356.9 kB / 0.6755 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1853, allocations: 8.125 kB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1853, allocations: 8 kB / 0.6756 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.1858, allocations: 383.2 kB / 0.6759 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1858, allocations: 0 / 0.6759 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1858, allocations: 7.984 kB / 0.6759 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1859, allocations: 0 / 0.6759 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.1863, allocations: 435.7 kB / 0.6763 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.187, allocations: 0.6369 MB / 0.677 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.1875, allocations: 0.5789 MB / 0.6775 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1879, allocations: 337.5 kB / 0.6779 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.1891, allocations: 1.025 MB / 0.6789 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.1895, allocations: 400.9 kB / 0.6792 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1895, allocations: 0 / 0.6792 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001407/0.1909, allocations: 1.293 MB / 0.6805 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.191, allocations: 85.22 kB / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.1923, allocations: 1.207 MB / 0.6818 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1923, allocations: 33.7 kB / 0.6818 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1925, allocations: 265.9 kB / 0.682 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1926, allocations: 23.83 kB / 0.6821 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.1929, allocations: 351.5 kB / 0.6824 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.193, allocations: 306 kB / 0.6827 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.1944, allocations: 1.365 MB / 0.684 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.1958, allocations: 1.489 MB / 0.6855 GB, free: 16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007148/0.203, allocations: 3.545 MB / 0.6889 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.203, allocations: 0 / 0.6889 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004772/0.2078, allocations: 3.973 MB / 0.6928 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.2079, allocations: 4 kB / 0.6928 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.2079, allocations: 4 kB / 0.6928 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2079, allocations: 0 / 0.6928 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2081, allocations: 15.98 kB / 0.6928 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2081, allocations: 0 / 0.6928 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.2086, allocations: 245.3 kB / 0.6931 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.2086, allocations: 27.97 kB / 0.6931 GB, free: 8.059 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.0002969/0.209, allocations: 241.6 kB / 0.6933 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.209, allocations: 71.3 kB / 0.6934 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.2093, allocations: 70.91 kB / 0.6935 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2093, allocations: 3.938 kB / 0.6935 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2093, allocations: 0 / 0.6935 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2093, allocations: 11.92 kB / 0.6935 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.2098, allocations: 0.4928 MB / 0.694 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2098, allocations: 0 / 0.694 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.2099, allocations: 7.938 kB / 0.694 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2099, allocations: 0 / 0.694 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2099, allocations: 7.984 kB / 0.694 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2099, allocations: 0 / 0.694 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.21, allocations: 0 / 0.694 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.211, allocations: 1.01 MB / 0.695 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.2111, allocations: 152.5 kB / 0.6951 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.2112, allocations: 7.984 kB / 0.6951 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2113, allocations: 0 / 0.6951 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2114, allocations: 11.92 kB / 0.6951 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.2114, allocations: 15.98 kB / 0.6952 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007939/0.2122, allocations: 0.6648 MB / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2122, allocations: 0 / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001074/0.2133, allocations: 407 kB / 0.6962 GB, free: 4.785 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.00249/0.2158, allocations: 1.928 MB / 0.6981 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.2183, allocations: 2.499 MB / 0.7005 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2183, allocations: 0 / 0.7005 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.2187, allocations: 343.8 kB / 0.7008 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.219, allocations: 37.31 kB / 0.7009 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.2347, allocations: 15.07 MB / 0.7156 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.2354, allocations: 0.9685 MB / 0.7165 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2356, allocations: 36.5 kB / 0.7166 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.2359, allocations: 263.3 kB / 0.7168 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.236, allocations: 0 / 0.7168 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.2849, allocations: 19.59 MB / 0.736 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.91, allocations: 7.75 kB / 0.736 GB, free: 11.98 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)